[Samba] Unable to add an xp machine to my domain

System Administrator System.Administrator at planaustralia.com.au
Mon Oct 9 22:16:16 GMT 2006


>>> 
> Hi there,
> 
> I've been going through the samba 3 by example book and have now 
> successfully replaced my NT 4 PDC with a Linux machine running samba and

> an LDAP backend.  Beautiful.
> 
> However, I've run into a slight problem.  When I try and add a new XP 
> pro machine to my domain, I get the following message:
> A domain controller for the domain TEST could not be contacted.
> 


I had the same problem.  After doing some research I found a website that
suggested changing the 
add machine script to use %m (machine name) instead of %u.

This partly fixed the problem.  LDAP was creating an computer object but
only the posix account details.  There was no sambaSAMAccount attributes.
Working through the scripts I realised sub add_samba_machine was never
called.

My mod was to add it in the Options{'w'} section of code in
smbldap-useradd

  if (!add_samba_machine ($userName,$userUidNumber)) {
    die "$0: error while adding samba machine\n";
  }




-- 




The contents of this email may be privileged and confidential, any unauthorised use of the contents is expressly prohibited. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. PLAN Australia is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt.
 



More information about the samba mailing list