Password Encryption

Andrew Park apark at
Wed Jun 28 18:13:47 GMT 2000

On Thu, 29 Jun 2000 mauer at wrote:

> I have been able to set up the encryption in the SMB.CONF file and connect from
> the NT workstation.
> I don't understand the nature the password syncronization, is the intent that
> users on the Samba server will no longer use
> the standard Unix operating system Password Change program,

No, that's not the intended use.

> but use the Samba
> SMPASSWD program which will then synchronize both passwords?

It's more like, you change your password from a NT station, and with
password sync. option you're updating Unix side as well.  smbpasswd program
does not know how to update Unix entries.

> Also when trying to run the SAMBA process SMPASSWORD as anything other than
> ROOT, I get the message
>  machine rejected the tconX on the IPC$ share. Error was : code 0.
>  Failed to change password for mauer

This is because of local password change vs. remote password change.
It's not documented (I don't think...), but the source code says only root
can do the local password change.  Anybody else who tries to run smbpasswd
will get routed to remote_password_change (I think that's the routine's

> Setting PASSWD CHAT DEBUG does not add any tracing in the log files as the
> documentation indicates.

I'm not too sure about this one, but that option is for the smbd session.
And not smbpasswd program.

Andrew Park
CDFlab Systems Administrator              |
Team BlueShirt Developer                    |
GnuPG Signature     |

More information about the samba-technical mailing list