2.2.0-alpha1 and smbpasswd -j

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Sun Jan 28 14:27:07 GMT 2001


On Sun, Jan 28, 2001 at 10:35:09AM +0100, Axel Thimm wrote:
> I cannot join a Samba PDC with a Samba member both running 2.2.0-alpha1:
> [...]
> On the other hand it has been reported to me that NT4 could successfully join
> the domain (W9x anyway).

I managed to narrow down the problem: It seems that 2.2 clients cannot
register to 2.2 PDCs, while a 2.0.7 client can. E.g., if the PDC is running
2.2.0-alpha1, then a client calling smbpasswd from 2.2.0-alpha1 yields:

> [root at puariko samba]# /usr/beta/bin/smbpasswd -j physik -D3
> resolve_wins: Attempting wins lookup for name PASSWD<0x20>
> resolve_wins: WINS server == <160.45.33.106>
> bind succeeded on port 0
> Got a positive name query response from 160.45.33.106 ( 160.45.33.106 )
> Connecting to 160.45.33.106 at port 139
> socket option SO_KEEPALIVE = 0
> socket option SO_REUSEADDR = 0
> socket option SO_BROADCAST = 0
> socket option TCP_NODELAY = 1
> socket option IPTOS_LOWDELAY = 0
> socket option IPTOS_THROUGHPUT = 0
> socket option SO_SNDBUF = 65535
> socket option SO_RCVBUF = 65535
> socket option SO_SNDLOWAT = 1
> socket option SO_RCVLOWAT = 1
> socket option SO_SNDTIMEO = 0
> socket option SO_RCVTIMEO = 0
> cli_pipe: return critical error. Error was code 0
> cli_pipe: return critical error. Error was code 0
> modify_trust_password: unable to obtain domain sid from PASSWD. Error was :
> code 0.
> 2001/01/28 15:14:09 : change_trust_account_password: Failed to change password
> for domain PHYSIK.
> Unable to join domain PHYSIK.

while the 2.0.7 smbpasswd does the job right (no other changes, client's
smbd/nmbd not running in both cases):

> [root at puariko samba]# smbpasswd -j physik -D3
> Unknown parameter encountered: "utmp"
> Ignoring unknown parameter "utmp"
> Unknown parameter encountered: "utmp"
> Ignoring unknown parameter "utmp"
> resolve_wins: Attempting wins lookup for name PASSWD<0x20>
> bind succeeded on port 0
> Got a positive name query response from 160.45.33.106 ( 160.45.33.106 )
> Connecting to 160.45.33.106 at port 139
> 2001/01/28 15:14:25 : change_trust_account_password: Changed password for
> domain PHYSIK.
> Joined domain PHYSIK.
-- 
Axel.Thimm at physik.fu-berlin.de




More information about the samba-ntdom mailing list