View Full Version : [ubuntu] Can't access some samba shares using [homes]

March 5th, 2009, 05:38 AM
I'm using samba because I do have a handful of PCs that are running Windows XP. Below is my super complicated /etc/samba/smb.conf file.

art@atom1:~$ cat /etc/samba/smb.conf
workgroup = WORKGROUP
interfaces = eth1 lo
bind interfaces only = yes

guest ok = no
read only = no
; valid users = %S

Here's my issue. I have 2 users set up in the system and in Ubuntu. art and don. user 'art' was set up when ubuntu was installed. user 'don' was installed strictly to allow for samba access.

The following commands were ran to set them both up:

sudo smbpasswd -L -a don
sudo smbpasswd -L -a art

Permissions on their respective home directories are as follows:

art@atom1:~$ ls -l /home
drwxr-xr-x 32 art art 4096 2009-03-01 00:19 art
drwxr-xr-x 3 don don 4096 2009-03-04 17:31 don

My problem is that user 'art' cannot log in at all from a Windows machine to the samba shares.

March 5th, 2009, 01:41 PM
Any ideas?

March 5th, 2009, 11:33 PM
little bump?

March 6th, 2009, 01:12 AM
You disabled the "valid users = %S"?
User "don" can login from Windows machine?

March 6th, 2009, 03:36 AM
correct, Iowan. I have no problems re-enabling that option if you'd like me to try it again.

March 6th, 2009, 04:00 AM
I have it enabled on my server under the (questionable) notion that it enables/limits directory access to the named user. My Samba Unleashed book, however, has %S meaning "Current Service Name".