[Samba] Unix password sync

alle_sandro at libero.it alle_sandro at libero.it
Sat May 15 08:29:13 MDT 2010

>On Fri, May 14, 2010 at 3:46 PM, Alessandro Grandi wrote:
> > If I login the server as a user of the domain and I try:
> > $smbpasswd
> > I put the old password, then the new and I get the following:
> > "SAMR connection to machine NT_STATUS_ACCESS_DENIED failed. Error was
> >, but LANMAN password changed are disabled.
> > Failed to change password for <user-name>"

> This is bug #2128 - https://bugzilla.samba.org/show_bug.cgi?id=2128

> Originally reported for version 3.0.8 and still broken in 3.5.2. Makes
> it impossible to test unix password sync without a Windows box.
> You probably have to edit your password chat. Visually examine what
> happens when you change the unix password and edit the chat to match.

I tryied to edit my "passwd chat" but it still don't work.

This is my output when I change the user password (as root):
#passwd silvia
Immettere nuova password UNIX: 
Reimmettere la nuova password UNIX: 
passwd: password aggiornata correttamente

So my passwd chat is:
passwd chat = *Immettere*nuova*password*UNIX:*%n*\n* *Reimmettere*la*nuova*password*UNIX:*%n*\n* *passwd:*password*aggiornata*correttamente*

but it still don't work.

I tried also some different values for passwd chat (even something like: passwd chat = *nuova*password*%n*\n* *nuova*password*%n*\n* *password*) but no way...

Maybe there is something I've not understood in the passwd chat sintax? I don't know...

I'd like to setup this feature but it's not a critical one (I don't think I'll setup LDAP just for this).

Thank you everyone is spending time to answer me!
(I appreciate it so much :-)


More information about the samba mailing list