RE: [Samba] Changing passwd as ordinary user
when I try to change my password as ordinary user using smbpasswd, I get the following error message: machine 127.0.0.1 rejected the password change: Error was : RAP86: The specified password is invalid. I'm sure my old password is correct and the new password also. If I change the ordinary user password as root, everything works fine... How about some details? As a wild guess, maybe your samba attempts to change *BOTH* the UNIX password and the samba password and if one fails the it is failure. For example if you're on RH, the default argument for doing this in smb.conf (that is for changing also the UNIX password) does not work. Try for example unix password sync = no in your smb.conf and see if it makes any difference... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Changing passwd as ordinary user
How about some details? As a wild guess, maybe your samba attempts to change *BOTH* the UNIX password and the samba password and if one fails the it is failure. For example if you're on RH, the default argument for doing this in smb.conf (that is for changing also the UNIX password) does not work. Try for example unix password sync = no in your smb.conf and see if it makes any difference... Well, I'm running RH 9. I used unix password sync = no and it made *THE* difference. I mean, it worked. Now the question is: how to solve the problem using unix password sync = yes? What's the correct argument for doing this in smb.conf, since I'm on RH? Thank you very mcuh, Regards, Benilton -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Changing passwd as ordinary user
Try for example unix password sync = no in your smb.conf and see if it makes any difference... Well, I'm running RH 9. I used unix password sync = no and it made *THE* difference. I mean, it worked. Now the question is: how to solve the problem using unix password sync = yes? What's the correct argument for doing this in smb.conf, since I'm on RH? How about reding the man? Just to see how missleading it can be! ;-) Try this: passwd chat = *Changing*password*for*user*New*password* %n\n *Retype*new*password* %n\n *passwd*all*authentication*tokens*updated*successfully* -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Changing passwd as ordinary user
How about reding the man? Just to see how missleading it can be! ;-) I read it, but I'm not able to build the passwd chat I need.. :( Been there done that! :-D I thought the passwd chat would be: But I failed (again) on solving this problem alone... passwd chat debug = yes debug level = 103. Take a deep breath and dive into the logs; if I remember well in log.smbd at one point you'll see some lines with Expected: and the strings for the dialog and why the system thinks it got the wrong answer; anyway look around for something like that. That's how I resolved mine as the samba mechanics for following the system answer to password change are strange at least... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba