password synching -- Grrr.. (fwd)

Kevin Currie x7currie at
Thu May 14 19:56:50 GMT 1998

This is a forwarded message from my unix sysadmin (he's taking care of the
Unix side of things and I've got the NT side).  Just a little background,
we're trying to execute smbpasswd from within Sun's passwd program.  We
have the source.


---------- Forwarded message ----------
Date: Thu, 14 May 1998 13:48:32 -0400 (EDT)
From: "Leonard J. Peirce" <peirce at>
Reply-To: leonard.peirce at
To: CURRIE KEVIN <x7currie at>
Subject: password synching -- Grrr..


I'm working with the password syncing and running into a problem.  Every
time I try to exec smbpasswd from the passwd program everything runs ok
until it tries to make the connection to the server and change the password.
Then I get the message:

smbpasswd: machine medusa rejected the session setup. Error was : ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.).

But if I just run smbpasswd from the command line everything looks ok.

Could you possibly ask on your mailing list if they have any idea what's
happening?  Or perhaps some suggestions about debugging it?

At the worst we could put a message in the passwd program telling people to
run smbpasswd on their own to change their password.  Not optimal but it might
be acceptable until we can get things working correctly.

- Leonard

More information about the samba-ntdom mailing list