Samba server problem
Tom H
tomh0665 at gmail.com
Tue Nov 17 00:04:03 UTC 2009
> I have a server and have attempted to make a share available to windows users.
> My problem is that a windows user "Janice" can login to her "home" share.
> But cannot log in to the "Windata" share.
> patton at tome:~$ ls -l /raid/Windata
> total 40
> drwxrw-r-- 9 patton users 4096 2009-09-19 22:11 All Users
...
> One thing about this. When I created the user account,
> I did not add janice to the group "users".
> I did that and am able to connect from the "janice" account
> on the ubuntu desktop machine.
> But it still does not connect from her windows machine.
> patton at tome:~$ cat /etc/samba/smb.conf
> [global]
> workgroup = HOME
> server string = %h server (Samba, Ubuntu)
> map to guest = Bad User
> obey pam restrictions = Yes
> passdb backend = tdbsam
> passwd program = /usr/bin/passwd %u
> passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
> unix password sync = Yes
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 1000
> printcap name = cups
> dns proxy = No
> wins support = Yes
> usershare allow guests = Yes
> panic action = /usr/share/samba/panic-action %d
>
> [homes]
> comment = Home Directories
> read only = No
> browseable = No
>
> [Windata]
> comment = Home File Archives
> path = /raid/Windata
> read only = No
> guest ok = Yes
Run "smbclient -L 127.0.0.1" to make sure that Windata is shared out.
Add "log level = 3" to your global section, remove "guest ok = Yes"
from your windata section, restart samba, and check /var/log/samba/
after a logon failure by janice.
More information about the ubuntu-users
mailing list