PDA

View Full Version : [ubuntu] how to make samba authenticate windows users by local linux account?



chuugokujin
June 11th, 2009, 03:56 PM
ubuntu 9.04 amd64
server name: s001
valid group: sales
valid user: jsmith
target folder: \doc
other folders are shared as public, only this one needs authentication.

[document]
path=\doc
valid users=@sales

I have some windows users that didn't even log in by password, I think it's the best way to authenticate them when they access this folder.
However when I tried one XP computer to access it, it prompts me for user name and password, so I input:
s001\jsmith
[password]
but it failed.

anything wrong or missed? thanks,

grantemsley
June 11th, 2009, 05:58 PM
samba usually keeps its passwords seperate from the system. check out the smbpasswd command.

chuugokujin
June 12th, 2009, 02:34 AM
samba usually keeps its passwords seperate from the system. check out the smbpasswd command.

Problem solved, thank you gantemsley!

grantemsley
June 12th, 2009, 03:09 PM
You're welcome