PDA

View Full Version : 1 users prompted to access main samba share


Counsel
24th October 2006, 17:08
I have a 10-person/computer SAMBA server (ubuntu breezy 5.1) running with 9 people using it with no problems.

My 10th person logs in using username/password and can see the /home/user folder and the /samba/shares/company folder. He can click and access, from his windows computer, the /home/user share but is prompted, again, for a username/password when attempting to browse/open the /home/company folder.

I noticed, when I created the user on the ubuntu box, that he was added to a group (I think his user name ws the group name) that was promptly deleted.

My smb conf contains

[company]
comment = All Users
path = /home/shares/company
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
writabel = yes.

There is no other [users] section...

I was thinking that perhaps he was not in the users group on the linux box. There is no gui except the CLI :)
Any assistance would be appreciated.

While trying to figure out how to get a list of users and groups in linux, I decided to try and log in as the 'user.' I found that he had changed his password for the unix box (I need to change his ability to do that if possible) so that it was different than the samba password I had set up. When I changed his user account password to match Samba password, he now has access to all shares...

Whew.

Counsel

falko
25th October 2006, 16:25
Good it's working now. I think the initial problem was that the user was in the wrong user group. The next time it happens you can check the files /etc/passwd and /etc/group.