[Samba] Auitomatic Password synchronisation
Dave Coventry
dgcoventry at gmail.com
Tue Dec 15 14:21:34 MST 2009
Does anybody else have experience of this?
2009/12/15 Dave Coventry <dgcoventry at gmail.com>:
> I have set up Samba on a Debian Lenny server. I have set up the users
> by using 'adduser' and then using 'smbpassword -a username' to add the
> users to the Samba users database.
>
> The users have the same username on both their Windows Client and the
> Samba server.
>
> my smb.conf
>
>
> security = user
>
> username level 2
>
> encrypt passwords = true
>
> obey pam restrictions = yes
>
> unix password sync = yes
>
> passwd program = /usr/bin/passwd %u
> passwd chat = *Enter\snew\s*\spassword:* %n\n
> *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
>
> pam password change = yes
>
> I'm expecting the user to be prompted for his Windows password and for
> this to be applied to smbpassword but the user is simply being refused
> access.
>
> What am I doing wrong?
>
> Many Thanks,
>
> Dave Coventry
>
More information about the samba
mailing list