samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] Unix password sync

Re: [Samba] Unix password sync

From: <alle_sandro_at_nospam>
Date: Sat May 15 2010 - 14:29:13 GMT
To: "samba" <samba@lists.samba.org>

>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
> > 127.0.0.1, 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 :-)

Alessandro

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba