¾È³çÇϼ¼¿ä?
ÀüÇüÀûÀÎ À©µµ¿ì »ç¿ëÀڷνá
³¸¼³Àº ¸®´ª½º ȯ°æ¿¡¼ ¼¼Æà Á» ¹Ù²ãº¸·Á´Ï ¿ïÈÅëÀÌ;;;;
Âü°í·Î ¸®´ª½º ¹öÀüÀº ÀÌ·¸½À´Ï´Ù.
Linux version 2.6.16.16-nas, Red Hat 4.0.1-5
Á¦°¡ ¿øÇÏ´Â °Ç
1. À©µµ¿ì¿¡¼ "AÀ¯Àú"°¡ "Share"¶ó´Â Æú´õ¸¦ °øÀ¯
2. ¸®´ª½º¿¡¼ "Share"¸¦ "/mnt/workgroup" ¿¡ ¸¶¿îÆ®
3. ¸®´ª½º¿¡¼ ¸¶¿îÆ® Çß´ø Æú´õ¸¦ "À©µµ¿ì"¿¡¼ °³³ª¼Ò³ª(¸ðµÎ°¡) Àаí/¾²±â¸¦ ÇÔ
ÇöÀç
1¹ø°ú 2¹ø±îÁö´Â ¹®Á¦ ¾øÀÌ µÇ¾ú±³
smbmount //user/share //mnt/workgourp -o username=xxxx
ÀÌ·±½ÄÀ¸·Î ¸¶¿îÆ®¸¦ ½ÃÄ״µ¥,
¹®Á¦´Â
worgroup¿¡ ±ÇÇÑ°ú Æ۹̼ÇÀ» ¸ðµÎ »ç¿ëÇÒ¼ö ÀÖ°Ô ¹Ù²ÛµÚ
smbmount¸¦ ½ÃÅ°¸é ±ÇÇÑÀº root, root·Î ±×·ìÀº Àб⸸ °¡´ÉÇÏ°Ô º¯Çϳ׿ä.
uid¿Í gid¸¦ ³Ö¾îÁÖ¶ó°í Çϴµ¥, nobody ¹øÈ£¸¦ ³Ö¾îÁàºÁµµ
-o rw¸¦ ³Ö¾îÁàºÁµµ Àб⠼ӼºÀº Ç®¸®Áö ¾Ê³×¿ä.
°á·ÐÀº
¸¶¿îÆ® µÈ Æú´õÀÇ ¼Ó¼ºÀ» "Àб⸸ -> ¾²±â °¡´É" À¸·Î ¹Ù²Ù°í ½Í½À´Ï´Ù.
±âŸ ³»¿ëÀº
»ï¹Ù¿¡ useradd¸¦ ½ÃÄÑ¾ß µÈ´Ù¶ó´Â ±Ûµµ º¸¾Ò´Âµ¥,
ÀúÈñ ¸®´ª½º ½Ã½ºÅÛ¿¡´Â Âü ¾ÈµÇ´Â°Íµµ ¸¹Àº°Å °°°í
net user ¸¦ ½ÇÇà ½ÃÄѵµ ¾ÈµÇ°í;;
/etc/samba/smb.conf¿¡
[work] »õ·Î¿î Ç׸ñµµ ¸¸µé¾î¼ ½áÁ൵ ºÃ°í security=share
/etc/exports¿¡µµ Ãß°¡ ½ÃÄѺðí,
/mnt/workgroup/* (rw,no_root_squash,async)
Ãʺ¸¶ó Àâ¼³ÀÌ ±æ¾ú½À´Ï´Ù.
´Ù¸¥ ¹æ¹ýµµ ÁÁ°í, ªÀº Á¶¾ðµµ ÁÁ°í, ÈùÆ®µµ ÁÁ½À´Ï´Ù.
ÂÍ~ µµ¿Í Áֽʼî~¤Ð-a
ÁÁÀº ÁÖ¸» º¸³»½Ã°í¿ä~ Èå,.Èå)/
[global]
workgroup = WORKGROUP
security = user
server string = nas
winbind uid = 10000-20000
winbind gid = 10000-20000
password server = *
map to guest = bad user
log file = /dev/null
[work]
path = /mnt/work
comment =
read only = no
public = yes
force group = user
force create mode = 0775
force directory mode = 0775
Á¦ °æ¿ì´Â Àбâ¿Í ¾²±â´Â °¡´ÉÇѵ¥ »èÁ¦°¡ ¾ÈµÇ´õ±º¿ä.
Áï ¸®´ª½º¿¡¼ Ÿ ÆÄÀÏ ½Ã½ºÅÛÀ» ¸¶¿îÆ® ÇÑ °ÍÀ» °øÀ¯ÇÒ °æ¿ì¿¡´Â ¾²±â ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ´Ù´Â °Ì´Ï´Ù.
Àú´Â ¸®´ª½º ¸Ó½®¿¡ share Æú´õ Çϳª¸¦ Àüü¿¡ °øÀ¯½ÃÅ°´Â ¹æ¹ýÀ¸·Î ÇØ°áÇß½À´Ï´Ù. ¾Æ´Ï¸é À¯Á® A ÀÇ share Æú´õ¸¦ À©µµ¿ì¿¡¼ Á÷Á¢ °øÀ¯½ÃÅ°´Â ¹æ¹ýµµ ÁÁ°Ú³×¿ä.
Á¦°¡ ¿øÇÏ´Â ½¦¾î ¹æ¹ýÀÇ °¡Àå Áß¿äÇÑ ÇÙ½ÉÀº
1. À©µµ¿ì °³°³ÀÎÀÇ ½¦¾îµÈ Æú´õ¸¦
2. ¸®´ª½º ÆÄÀÏ ½Ã½ºÅÛ¿¡ ¸ðµÎ ¿îÆ®¸¦ ½ÃÅ°°í Àç°øÀ¯¸¦ Çؼ
3. °³°³ÀÇ Æú´õµéÀ» ÇÑ °÷¿¡ ¸ð¾Æ³õ°í Àаí/¾²±â¸¦ ÇÏ´Â °ÍÀÔ´Ï´Ù.
À©µµ¿ì »ç¿ëÀÚ A, B, C, D .... µîÀÇ Æú´õ¸¦
/mnt/work/a, c, d ÀÌ·±½ÄÀ¸·Î ¸»ÀÌÁÒ
¸®´ª½º ÆÄÀϽýºÅÛÀº À©µµ¿ì ³×Æ®¿÷ µå¶óÀ̺ê·Î ¼³Á¤µÇ¾î ÀÖ°í (z:)
(z:\mnt/work/a, z:\mnt/work/b, z:\mnt/work/c)
Àú·±½ÄÀ¸·Î ÇÏ¸é °³°³ÀÎÀÇ Æú´õ¸¦ ¸¶Ä¡ ³×Æ®¿÷ µå¶óÀ̺ê·Î
¿¬°áÇؼ ¾²´Â½ÄÀÌ µÇ´Âµ¥, ±×°Ô ÇöÀç ÇÊ¿äÇÑ Æ÷ÀÎÆ® ÀÔ´Ï´Ù.
À©µµ¿ì ÂÊ ÆÄÀÏ ½Ã½ºÅÛÀÌ NTFS ÀÏ °æ¿ì¿¡µµ À§¿Í °°Àº ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ½À´Ï´Ù..
ÇØ°áÃ¥Àº Àß ¸ð¸£°Ú³×¿ä.. NTFS-3G ¼³Ä¡Çϸé ÇØ°áµÉÁö È®½ÅÀº ¸øÇÏ°Ú½À´Ï´Ù..
À̰͵µ Çѹø Çغ¼°Ô¿ä~ ^^