[Samba] unable to join w2k3 SP1 to samba 3 domain.

Adam Nielsen adam.nielsen at uq.edu.au
Tue Sep 8 17:48:15 MDT 2009

> Could you please elaborate on how to remove the machine from the AD? Thx!
> (I've always thought that the term "Active Directory" isn't relevant
> to a Samba PDC,
> since Samba-3 only functions an MS Windows NT4-style domain controller.)

> 09/09/2009 00:51:59:650 NetpManageMachineAccountWithSid: NetUserAdd on
> '\\PDC' for 'DEVSRV01$' failed: 0x8b0
> 09/09/2009 00:51:59:655 NetpSetMachineAccountPasswordAndTypeEx: Broken
> account type 0x11 -- error out
> 09/09/2009 00:51:59:657 NetpManageMachineAccountWithSid: status of
> attempting to set password on '\\PDC' for 'DEVSRV01$': 0x524
> 09/09/2009 00:51:59:657 NetpJoinDomain: status of creating account: 0x524
> 09/09/2009 00:51:59:657 NetpJoinDomain: initiaing a rollback due to
> earlier errors

It definitely looks like it can't set the machine password.  I didn't
realise you were using Samba as the domain controller, I've only ever
used MS servers for this (and their GUI tools to delete PCs.)  If you
don't know how to delete the machine account, then getting enough access
to override it should be just as good.  When you add the Windows machine
to the domain it should ask you for a username and password, so use one
that has lots of access :-)


More information about the samba mailing list