changed the uid of a user and now can't auth through PDC

Keith Lynn lynn at
Mon Sep 18 13:31:31 GMT 2000

I have had this problem a few times. Everything seemed to be okay, but it
wouldn't authenticate. The problem turned out to be that the uid on the
UNIX server and the uid listed in the smbpasswd weren't the same. As long
as you change the one in smbpasswd to the same as on the UNIX server it
should work.

On Mon, 18 Sep 2000, Roger Motz wrote:

> OK here is what happened.  Had samba running just fine authenticating
> through an NT PDC.  Had to change the UID of one of the UNIX users (this
> user is also an NT user).  Changed the UID and then couldn't access anything
> through samba as that user.  I have removed samba and reinstalled, removed
> the samba server from the NT doamin and added it back on.  When I do a
> smbpasswd -j domain I get the following error:
> # /usr/local/samba/bin/smbpasswd -j NRD -r NRDFHT01
> cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
> cli_nt_setup_creds: auth2 challenge failed
> modify_trust_password: unable to setup the PDC credentials to machine
> 2000/09/18 09:18:20 : change_trust_account_password: Failed to change
> password for domain NRD.
> Unable to join domain NRD.
> I can use all the help I can get.  Thanks in advance.
> roger

More information about the samba-ntdom mailing list