How do I get remote password (unix and SMB) changing working ?
Have a practice changing a user’s password (as root) to see what discussion takes place and change the text in the ‘passwd chat’ line below as necessary. The line as shown works for recent RH Linux but most other systems seem to like to do something different. The ‘*’ is a wild card and will match anything (or nothing). Add these lines to smb.conf under [Global] unix password sync = true passwd program = /usr/bin/passwd %u passwd chat = *password* %n\n *password* %n\n *successful* As mentioned above, the change to the unix password happens as root, not as the user, as is indicated in ~/smbd/chgpasswd.c If you are using NIS, the Samba server must be running on the NIS master machine.