[Samba] Unix Password Sync Question
David Lloyd
lloy0076 at adam.com.au
Fri Nov 7 00:53:21 GMT 2003
I have:
[global]
log level = 3
netbios name = CAIRO
workgroup = EGYPT
server string = %h server (Samba %v)
guest account = nobody
invalid users = root
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
passdb backend = tdbsam
security = user
encrypt passwords = true
name resolve order = bcast
add user script = /usr/sbin/useradd %u
unix password sync = yes
passwd program =/usr/bin/passwd %u
passwd chat = \
*Enter\snew\sUNIX\spassword:*%n\n*Retype\snew\sUNIX\spassword:* %n\n .
passwd chat debug = yes
obey pam restrictions = yes
...now for the life of me I can't get smbpasswd to trigger the passwd
program.
Here's a few things I've tried:
* Add a user "lloy0076"
- smbpasswd -a lloy0076
* Change said user's password
- nothing gets entered in the logs
- the Unix password stays the same
- the Samba password is changed
(verified by using smbclient with new password and it works)
I've changed passwd program to:
passwd program = touch /tmp/%u
...and nothing is enter in /tmp/%u.
I'm not sure what's up.
Version of samba is:
mordor:~# /usr/sbin/smbd -V
Version 3.0.0-Debian
...I can't find any obvious bugs on bugs.debian.org that might cause this.
Anyone got any suggestions?
DSL
--
The Open Source Business Network in SA
...will be open soon! Watch this space.
More information about the samba
mailing list