2.2.2 tdb code broken for HP-UX?
Michael Steffens
michael_steffens at hp.com
Tue Oct 16 03:21:10 GMT 2001
Hi Jeremy,
thanks, that was both good and bad news! Good is obvious, but...
Jeremy Allison wrote:
>
> On Mon, Oct 15, 2001 at 12:43:33PM +0200, Michael Steffens wrote:
> > Hi,
> >
> > I'm currently testing Samba 2.2.2 on HP-UX 11.00, and unfortunately
> > got into trouble with the latest 2_2 CVS release (as of yesterday,
> > but there seem to be no changes since then).
> >
> > Configure and compilation went fine. I removed all *.tdb files from
> > previous versions, successfully joined an existing NT 4.0 domain,
> > and finally launched smbd and nmbd. But no domain logons were possible
> > and log.smbd complained:
> >
> > [2001/10/14 17:30:12, 0] smbd/connection.c:(62)
> > yield_connection: tdb_delete for name failed with error Record does not exist.
>
> This is harmless and doesn't mean a corrucpt tdb. You can
> ignore this.
... then the error must be somewhere else. On connection attempts to
the samba server I got
[2001/10/16 10:19:04, 0] rpc_client/cli_netlogon.c:(160)
cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2001/10/16 10:19:04, 0] rpc_client/cli_login.c:(72)
cli_nt_setup_creds: auth2 challenge failed
[2001/10/16 10:19:04, 0] smbd/password.c:(1371)
connect_to_domain_password_server: unable to setup the PDC credentials
to machine BBNAPPDC. Error was : NT_STATUS_ACCESS_DENIED.
I thought that this could be explained by a corrupted secrets.tdb.
But the reason seems to be different. I tried the following twice,
and it seems to be reproducible. When the machine account has been
created with
/opt/samba/bin/smbpasswd -j DOMAIN -r PDC -U username
success is reported, and the Samba box really pops up in NT server
manager. But then the above error occurs. When it's done the "classic"
way by creating the account via server manager and joining with
/opt/samba/bin/smbpasswd -j DOMAIN
everything is ok!
Hopefully this isn't old news :)
However, it's not too critical for me, can stick with the old way.
Thanks!
Michael
More information about the samba-technical
mailing list