Hi... I am running samba 2.0.3 and Slakware Linux... What I have been trying to achive is the situation where when a win95 user changes their password samba automatically changes their unix password to match! I have read lots of things which say to use 'unix password sync' and to set the debug level to 100 but sofar I have not seen any results in the log.smb file :( Am I missing something really obvious? I have compiled samba just via ./configure and then make, do I need to specify any Makefile options or is it all configured from smb.conf HELP! Thanks In Advance Chris Roberts chrisr@oleo.co.uk
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.