Hello Samba Users, I cannot change a user's Samba password from a Windoze client or from the Unix Samba server when "unix password sync = True". Any ideas what/where I screwed up? AtDhVaAnNkCsE - Samba version 1.9.18p10 on a Solaris 2.5 box. - compiled with the following flags: FLAGSM = -DSUNOS5 -DSHADOW_PWD -DNETGROUP -DFAST_SHARE_MODES -DALLOW_CHANGE_PASSWORD - global section of the smb.conf contains, amongst other things, : encrypt passwords = yes unix password sync = true passwd chat debug = True passwd program = /usr/bin/passwd %u passwd chat = *New*password:* %n\n *Re-enter*new*password:* %n\n The failure I have is when I logon to my samba server as a non-root user and execute smbpasswd. It prompts me for the old, and then the new (twice), and then says: smbpasswd: machine 127.0.0.1 rejected the password change: Error was : The specified password is invalid. That's the crux of the problem. The rest of this email is miscellaneous info that may help surface a solution: - running "smbpasswd <login>" as root on the samba server changes the SMB password accordingly, but not the Unix password. - smbd is running with debug level = 3. When I login to Unix on the samba server as root and issue the command "smbpasswd joeuser", the log file has nothing to say. When I login to Unix on the samba server as joeuser and issue the command "smbpasswd", the smbd log on the server says the following: 1998/10/13 14:26:10 Transaction 1 of length 168 switch message SMBnegprot (pid 28379) Requested protocol [PC NETWORK PROGRAM 1.0] Requested protocol [MICROSOFT NETWORKS 1.03] Requested protocol [MICROSOFT NETWORKS 3.0] Requested protocol [LANMAN1.0] Requested protocol [LM1.2X002] Requested protocol [Samba] Selected protocol NT LANMAN 1.0 1998/10/13 14:26:10 Transaction 2 of length 87 switch message SMBsesssetupX (pid 28379) Domain=[] NativeOS=[Unix] NativeLanMan=[Samba] sesssetupX:name=[JOEUSER] Registered username joeuser for guest access adding home directory joeuser at /home/admin/joeuser 1998/10/13 14:26:10 Transaction 3 of length 63 switch message SMBtconX (pid 28379) Trying username ipc$ ACCEPTED: guest account and guest ok found free connection number 16 Connect path is /tmp chdir to /tmp chdir to /usr/local/icgdev/lib/samba 1998/10/13 14:26:10 icgdev (127.0.0.1) connect to service IPC$ as user netscape (uid=3031,gid=189) (pid 28379) 1998/10/13 14:26:10 tconX service=ipc$ user=netscape cnum=16 1998/10/13 14:26:10 Transaction 4 of length 637 switch message SMBtrans (pid 28379) chdir to /tmp trans <\PIPE\LANMAN> data=532 params=25 setup=0 named pipe command on <LANMAN> name Got API command 214 of form <zsT> <B516B16> (tdscnt=532,tpscnt=25,mdrcnt=0,mprcnt=2) Doing SamOEMChangePassword api_SamOEMChangePassword: Change password for <joeuser> Password change for user: joeuser Dochild for user joeuser (uid=0,gid=0) The process exited while we were waiting end of file from client chdir to /usr/local/icgdev/lib/samba Closing connections - when i run smbd with debug level = 100, and do a "smbpasswd" as unix user joeuser on the samba server, the smbd log file shows that the chat script is correct.