mainframe ~ # cat /etc/samba/smb.conf
# Samba config file created using SWAT # from UNKNOWN (127.0.0.1) # Date: 2011/08/24 16:36:00 [global] server string = Samba Server log file = /var/log/samba/log.%m max log size = 50 dns proxy = No [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [market] path = /home/market force user = market force group = users read only = No [utility] path = /home/utility force user = utility force group = users read only = No [work] path = /home/work force user = work force group = users read only = No [office] path = /home/office force user = office force group = users read only = No mainframe ~ #
중요한것은 force user값과 force group값을 입력해 줘야 한다는 것이다. 이것만 제대로 입력해 둬도 문제없이 윈도우에서 네트워크 드라이브를 연결해서 편리하게 사용할수 있다.