[Samba] Can't join domain as additional domain controller

Phil Quesinberry philq at qsystemsengineering.com
Wed Apr 17 22:30:39 MDT 2013


I'm trying to join an existing domain as an additional domain controller but
I keep getting errors.  Existing domain controller is an old Win2K server
named 'Server'.

 

[root at Server1 samba4]# samba-tool domain join HERSCHLAUREN DC -U
administrator --realm=HERSCHLAUREN.COM

Finding a writeable DC for domain 'HERSCHLAUREN'

Found DC SERVER.HERSCHLAUREN

Failed to connect to ldap URL 'ldap://SERVER.HERSCHLAUREN' - LDAP client
internal error: NT_STATUS_OBJECT_NAME_NOT_FOUND

Failed to connect to 'ldap://SERVER.HERSCHLAUREN' with backend 'ldap':
(null)

ERROR(ldb): uncaught exception - None

  File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 175, in _run

    return self.run(*args, **kwargs)

  File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py",
line 552, in run

    machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)

  File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
1082, in join_DC

    machinepass, use_ntvfs, dns_backend, promote_existing)

  File "/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
78, in __init__

    credentials=ctx.creds, lp=ctx.lp)

  File "/usr/local/samba/lib64/python2.6/site-packages/samba/samdb.py", line
56, in __init__

    options=options)

  File "/usr/local/samba/lib64/python2.6/site-packages/samba/__init__.py",
line 114, in __init__

    self.connect(url, flags, options)

  File "/usr/local/samba/lib64/python2.6/site-packages/samba/samdb.py", line
71, in connect

    options=options)

 

Am I doing something wrong here or is this functionality not quite working
yet?

 

Cheers,

 

Phil Quesinberry

Q Systems Engineering, Inc.

Embedded Systems Hardware/Software Development and VoIP Business Telephone
Hosting

Improve your business telephone services and save money

(410) 969-8002

http://www.qsystemsengineering.com <http://www.qsystemsengineering.com/> 

 



More information about the samba mailing list