Joining an NT domain?

Lars Kellogg-Stedman lars at larsshack.org
Mon Jul 26 16:18:10 GMT 1999


Howdy,

I've run into some problems adding a Unix server to an NT domain.  I've
followed the instructions in DOMAIN_MEMBER.txt; when running the
smbpasswd command:

  ./bin/smbpasswd -j CS-NT -r CS-NTS1

I get the following errors:

  modify_trust_password: machine CS-NTS1 rejected the session setup. Error
  was : code 131.
  1999/07/26 11:36:37 : change_trust_account_password: Failed to change
  password for domain CS-NT.
  Unable to join domain CS-NT.

Oddly enough, nothing shows up in the event log on CS-NTS1, even with all
the auditing checkboxes checked.  I've poked around Microsoft Technet, and
I haven't been able to figure out what "code 131" means.

In searching the mailing lists, it looks as if other folks have run into
similar problems, but I haven't seen any solutions that look as if they
would apply to my situtation.  To ward off some of the questions I've seen
in response to this sort of problem report:

> Did you create a machine account on the PDC for the Samba box? 

Yes.

> Did you set the 
>        workgroup = <DOMAINNAME> 
>        security = domain 
>        password server = <NetBIOS name of PDC> 
> in smb.conf? 

Yes.

In my config file:

  password server = pdc_name bdc_name

>What version (date of CVS code or Beta release of 2.0) 
>are you using? 

2.0.5a

Thanks for your help,

  -- Lars

-- 
Lars Kellogg-Stedman <lars at larsshack.org>



More information about the samba mailing list