## ÀÌ ¹®¼­´Â "¼­¹ö°ü¸®ÀÚ¸¦ À§ÇÑ ¸®´ª½º ³×Æ®¿öÅ©-(Ãâ)º£½ºÆ®ºÏ" Ã¥¿¡ ´ëÇÑ µ¶ÀÚÀÇ ## Áú¹® Áß, ºñ±³Àû ºñÁßÀÌ ÀÖ´Â Áú¹®°ú ´äº¯À» Á¤¸®ÇÏ¿© ¿Å°Ü³õÀº °ÍÀÔ´Ï´Ù. ## ## µ¶ÀÚÀÇ °³ÀÎ Á¤º¸ º¸È£¿Í ½ºÆÔ¸ÞÀÏÀ» ¹æÁöÇϱâ À§Çؼ­ À̸§°ú ¸ÞÀÏÁÖ¼Ò´Â ## Á¦¿Ü½ÃÄ×½À´Ï´Ù. ## ## Ã¥¿¡ ´ëÇÑ Áú¹®Àº °¡´ÉÇÑ ## http://www.linuxchannel.net/board/?table=qna ## ¿¡¼­ Áú¹®ÇØ ÁֽʽÿÀ. [Á¦¸ñ] »ï¹Ùȯ°æ¼³Á¤ ¹× ¼³Ä¡¿¡ °üÇÑ Áú¹® Subject: Re: »ï¹Ùȯ°æ¼³Á¤ ¹× ¼³Ä¡¿¡ °üÇÑ Áú¹® Date: Fri, 17 Nov 2000 01:41:28 +0900 "äxxx" wrote: > ¾È³çÇϼ¼¿ä, san2´Ô > ¸®´ª½º ¼­¹ö ¿Õ¿Õ Ãʺ¸ÀÔ´Ù. > ´Ô²²¼­ ÁöÇÊÇϽŠå(¼­¹ö°ü¸®ÀÚ¸¦ À§ÇÑ ¸®´ª½º ³×Æ®¿öÅ©¶ó)Àº ¾ÆÁÖ À¯¿ëÇÏ°Ô Àß º¸°í ÀÖ½À´Ï´Ù. > Ã¥À» ÀÐ°í »ï¹Ù ȯ°æ¼³Á¤ ¹× ±¸µ¿À» ÇÏ·Á°í Ã¥¿¡ ³ª¿Í ÀÖ´Â(Ãʺ¸¶ó¼­ ¿ì¼±) ±×´ë·Î ȯ°æÀ» ¼³Á¤Çϱä > Çߴµ¥ »ï¹Ù°¡ ÀüÇô ¾È ¸Ô¾î µé¾î °©´Ï´Ù. > ¿©·¯°¡Áö È®ÀÎÇØ º¼ °ÍµéÀº Ã¥À» º¸°í ÇØ º¸±ä Çߴµ¥(SWATµµ ±¸µ¿È®ÀÎ) > http://www.linux.ac.kr:901/ Çصµ ¹ÝÀÀÀÌ ¾øÀ½ > > <¿¡·¯¸Þ¼¼Áö> > # smbstatus > Couldn't open status file /var/lock/samba/STATUS..LCK > > # ps -ax | grep smbd > 969 ? S 0:00 smbd -D > > # smbclient -L home > added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx nmask=255.255.255.192 > Connection to home failed > > ±âŸ '½ÃÀÛ-ã±â-ÄÄÇ»ÅÍ'Çصµ ÄÄÇ»Å͸¦ ãÀ» ¼ö ¾øÀ½´Ï´Ù, ¶ó´Â ¸Þ¼¼Áö°¡ ¶å´Ï´Ù. > ¾Æ¹«·¡µµ ȯ°æ ¼³Á¤ÀÌ Àß ¸ø µÈ µí Çѵ¥.... > # testparmÀ» Çϸé syntex¿¡·¯´Â ³ª¿ÀÁö ¾Ê½À´Ï´Ù. > > <ȯ°æ¼³Á¤ ³»¿ë> > ³ª¸ÓÁö´Â san2´Ô°ú µ¿ÀÏ... > host allow = xxx.xxx.xxx.xxx(³×Æ®¿öÅ©ÁÖ¼Ò)/255.255.255.192 > remote announce = xxx.xxx.xxx.xxx(bcastÁÖ¼Ò) > > [homes] > comment = Ȩ µð·ºÅ丮 > browseable = no > writable = yes > > [public] > comment = GuestÀÇ °ø°£ > path = /home/samba > public = yes > writable = no > printable = no > > [printers] > comment = ¸ðµç ÇÁ¸°ÅÍ > path = /var/spool/samba > browseable = no > guest ok = yes > writable = no > printable = yes > > ¸®´ª½º·Î óÀ½ ÀÛ¾÷À» ÇÏ·Á´Ï ¾î¶»°Ô ÇؾßÇÒÁö Ȳ´çÇϳ׿ä.... ´äº¯ Á» ºÎŹ µå¸³´Ï´Ù. > > ================================================== ¼³Á¤ ÆÄÀÏÀº ÀÌ»óÀÌ ¾ø´Â°Í °°±º¿ä.. ³Ý¸Å½ºÅ©¿Í ³×Æ®¿öÅ©ÁÖ¼Ò/ºê·ÎµåÄɽºÆ® ÁÖ¼Ò¸¸ Ʋ¸®°í¿ä... Á¦°¡ ¹æ±Ý Å×½ºÆ®ÇØ º¸¾Ò´Âµ¥. # smbstatus¿¡¼­ ÀÌ»ó¾ø´õ±º¿ä. ¸ÕÀú »ï¹Ù¸¦ RPMÀ¸·Î ¼³Ä¡Çß´Ù¸é ±âº»ÀûÀ¸·Î 3°³ÀÇ ÆÐÅ°Áö¸¦ ¼³Ä¡ÇØ Áִ°ÍÀÌ ÁÁ½À´Ï´Ù. samba-xxx samba-common-xxx samba-client-xxx À§ÀÇ 3°³ÀÇ ÆÐÅ°Áö°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇØ º¸¼¼¿ä.. ±×¸®°í °¡´ÉÇÑ SWATÀ» ½ÇÇàÇؼ­ ¼³Á¤ÇÏÁö ¸¶½Ã±æ ¹Ù¶ø´Ï´Ù. ÁÖ¼®ÀÌ ¸ðµÎ »èÁ¦µÇ±â ¶§¹®ÀÔ´Ï´Ù. ±ÇÀåÇÏ´Â ¹æ¹ýÀº ÇöÀç »ï¹Ùµ¥¸óÀ» Á×ÀÌ°í ¸ðµçÆÐÅ°Áö¸¦ Áö¿î´ÙÀ½ óÀ½ºÎÅÍ ´Ù½Ã ¼³Ä¡ÇÏ´Â ¹æ¹ýÀÌ Á¦ÀÏ ÆíÇÏ°í ´Ü½Ã°£¿¡ ÇØ°áÇÒ¼ö ÀÖ´Â ¹æ¹ýÀÔ´Ï´Ù. (Á¦ °æÇè»óÀ¸·Î) ><¿¡·¯¸Þ¼¼Áö> ># smbstatus >Couldn't open status file /var/lock/samba/STATUS..LCK »ï¹Ù¼­¹ö ½ÃÀ۽à ¹®Á¦°¡ ÀÖ´Â°Í °°±º¿ä... óÀ½ºÎÅÍ ´Ù½Ã½ÃÀÛÇÏ´Â ¸¶À½À¸·Î ÆÐÅ°Áö¸¦ ´Ù½Ã ¼³Ä¡ÇØ º¸¼¼¿ä... ># smbclient -L home >added interface ip=211.60.xxx.xxx bcast=211.60.xxx.191 nmask=255.255.255.192 >Connection to home failed ÀÌ°Ç ip=211.60.xxx.xxx bcast=211.60.xxx.191 nmask=255.255.255.192ÀÇ ÄÄÇ»ÅÍ À̸§ÀÌ home À̶ó´Â ¶æÀÔ´Ï´Ù. ÇØ´ç ÄÄÇ»ÅÍÀÇ À̸§À» ÀÔ·ÂÇؾßÇÕ´Ï´Ù. Á¤¸®ÇÏÀÚ¸é, -ÆÐÅ°Áö 3°³°¡ ¿Ã¹Ù¸£°Ô ¼³Ä¡µÇ¾î ÀÖ´ÂÁö -¼³Á¤ÆÄÀÏÀ» °íÄ¡±â Àü¿¡ »ï¹Ùµ¥¸óÀ» ½ÇÇàÇØ º¾´Ï´Ù. -¼³Á¤ÆÄÀÏ¿¡¼­ ³×Æ®¿öÅ©ÁÖ¼Ò/³×¸Å½ºÅ©/ºê·ÎƮij½ºÆ® ±×¸®°í Çã¶ôÇÒ È£½ºÆ® Á¤µµ¿Í -ÀÛ¾÷±×·ì Á¤µµ¸¸ °íÃļ­ ´Ù½Ã ½ÇÇàÇغ¸¼¼¿ä... ¿©±â±îÁö Çغ¸½Ã°í ´ÙÀ½Àº ¼¼ºÎÀûÀÎ ÀÛ¾÷À¸·Î µé¾î°¡¼¼¿ä.. Âü°í·Î SWATÀ¸·Î ¼³Á¤ÇÏÁö ¸¶½Ã±æ ¹Ù¶ø´Ï´Ù. (º°·Î ±ÇÀåÇÏ´Â ¹æ¹ýÀÌ ¾Æ´Ô) ±×¸®°í, Á¦È¨¿¡ ¿¹Àü¿¡ »ç¿ëÇß´ø »ï¹Ù¼³Á¤ÆÄÀÏÀÌ ÀÖ½À´Ï´Ù. Âü°íÇϽñæ... ÁÖ¼Ò´Â http://www.linuxchannel.net/docs/smbconf2.html ÀÔ´Ï´Ù.