- 论坛徽章:
- 0
|
三顿饭
你好: \r\n我仔细看了我的smb.conf文件,我也没有发现什么问题.\r\n下面是我的smb.conf文件,请你帮我看一看:\r\n\r\n[homes]\r\n comment = Home Directories\r\n browseable = no\r\n writable = yes\r\n valid users = %S\r\n create mode = 0664\r\n directory mode = 0775\r\n\r\n# If you want users samba doesn\'t recognize to be mapped to a guest user\r\n; map to guest = bad user\r\n\r\n\r\n# Un-comment the following and create the netlogon directory for Domain Logons\r\n; [netlogon]\r\n; comment = Network Logon Service\r\n; path = /usr/local/samba/lib/netlogon\r\n; guest ok = yes\r\n; writable = no\r\n; share modes = no\r\n\r\n\r\n# Un-comment the following to provide a specific roving profile share\r\n# the default is to use the user\'s home directory\r\n;[Profiles]\r\n; path = /usr/local/samba/profiles\r\n; browseable = no\r\n; guest ok = yes\r\n\r\n\r\n# NOTE: If you have a BSD-style print system there is no need to\r\n# specifically define each individual printer\r\n[printers]\r\n comment = All Printers\r\n path = /var/spool/samba\r\n browseable = no\r\n# Set public = yes to allow user \'guest account\' to print\r\n guest ok = no\r\n writable = no\r\n printable = yes\r\n\r\n# This one is useful for people to share files\r\n;[tmp]\r\n; comment = Temporary file space\r\n; path = /tmp\r\n; read only = no\r\n; public = yes\r\n\r\n# A publicly accessible directory, but read only, except for people in\r\n# the \"staff\" group\r\n [public]\r\n comment = Public Stuff\r\n path = /home/wangdy/2\r\n public = yes\r\n writable = yes\r\n printable = no\r\n write list = @oinstall\r\n guest ok = yes\r\n\r\n其中 linux的用户是wangdy,他属于dba, oinstall两个组。在源文件的基础上,我就把public部分改了,还有在gloabl 区中改了netbiosname,workgroup, 并且把共享模式改为了share。\r\n改完之后,我又启动了/sbin/service smb stop /sbin/service smb start\r\n重新启动了服务。但是情况依旧。\r\n\r\n我想把linux机器上/home/wangdy/2目录mount到windows机器上的共享目录2, \r\n不知道哪位好心人能指出我smb.conf设置的问题是什么阿? |
|