smbpasswd -j <domain> -r <pdc> won't work for me!

Mike Brodbelt m.brodbelt at acu.ac.uk
Thu Sep 28 10:06:47 GMT 2000


Rob Tanner wrote:
> 
> I've been using SAMBA for a while, but this my first effort running it
> on LINUX, and I'm not sure if that has anything to do with my problem
> or not.

> resolve_lmhosts: Attempting lmhosts lookup for name SATURN<0x20>
> resolve_hosts: Attempting host lookup for name SATURN<0x20>
> Connecting to 10.219.255.240 at port 139

So, it resolves the name successfully for your PDC.

> cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT
> cli_nt_setup_creds: auth2 challenge failed
> modify_trust_password: unable to setup the PDC credentials to machine
> SATURN. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT.

This means that it has attempted to change the password on the machine
account in the SAM of the PDC, and failed, because the account does not
exist.

You must, before joining the domain, go into server manager, and use the
"Add computer to domain" to create the trust account for the NETBIOS
name of your Samba machine. If you've already done this, then delete it
and recreate it - that's definitely where it's going wrong. If the
account doesn't exist in a know state, then you won't get anywhere.

> 2000/09/26 14:17:43 : change_trust_account_password: Failed to change
> password for domain EUROPA.
> Unable to join domain EUROPA.
> 
> I'm afraid my NT guy can't tell me any more than it's complaining  that
> there's no trust account for my machine, but that's what I'm supposedly
> trying to set up.

No - you're trying to make it join the domain. This is *not* the same
thing as setting up the trust account. With NT, when you join the
domain, you are given the option of entering the Administrator password
which is used to create the trust account. For a Samba box, this must be
done on the server first.
 
> The pertinent numbers are NT4 service pack 6 on the Microsoft side, and
> rh 6.2 and Samba 2.0.7 on the LINUX side.

Should all be fine.

HTH

Mike




More information about the samba mailing list