Author Topic: Adding an Additional Domain Controller  (Read 2056 times)

cornfeed

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Adding an Additional Domain Controller
« on: September 19, 2012, 03:07:07 am »
I have set every DNS setting I can. My secondary controller can ping the primary controller and get the proper IP.
I can use:
ldapsearch -H ldap://officeone.ad.example.org
and I will be immediately prompted for a password to authenticate.

But still, when I attempt to activate the Samba Module, I get the following error:

Code: [Select]
2012/09/18 19:24:33 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: samba
2012/09/18 19:24:34 INFO> Samba.pm:822 EBox::Samba::__ANON__ - Joining to domain 'AD.EXAMPLE.ORG' as DC
2012/09/18 19:24:34 ERROR> Samba.pm:855 EBox::Samba::__ANON__ - Error joining to domain: Failed to connect to ldap URL 'ldap://officeone.ad.example.org' - LDAP client internal error: NT_STATUS_CONNECTION_REFUSED
 Failed to connect to 'ldap://officeone.ad.example.org' with backend 'ldap': (null)
 ERROR(ldb): uncaught exception - None
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 160, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 256, in run
     machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1057, in join_DC
     machinepass, use_ntvfs, dns_backend, promote_existing)
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 82, in __init__
     credentials=ctx.creds, lp=ctx.lp)
   File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 56, in __init__
     options=options)
   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in __init__
     self.connect(url, flags, options)
   File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 71, in connect
     options=options)
2012/09/18 19:24:34 ERROR> Service.pm:721 EBox::Module::Service::__ANON__ - Error restarting service: Error joining to domain: Failed to connect to ldap URL 'ldap://officeone.ad.example.org' - LDAP client internal error: NT_STATUS_CONNECTION_REFUSED
 Failed to connect to 'ldap://officeone.ad.example.org' with backend 'ldap': (null)
 ERROR(ldb): uncaught exception - None
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 160, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 256, in run
     machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1057, in join_DC
     machinepass, use_ntvfs, dns_backend, promote_existing)
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 82, in __init__
     credentials=ctx.creds, lp=ctx.lp)
   File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 56, in __init__
     options=options)
   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in __init__
     self.connect(url, flags, options)
   File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 71, in connect
     options=options)

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Adding an Additional Domain Controller
« Reply #1 on: September 19, 2012, 05:33:16 am »
I have had luck getting two Zentyal servers to behave.  See here http://forum.zentyal.org/index.php/topic,12035.msg49290.html#msg49290.  My next steps are to tackle 2003 server as primary and as additional domain controllers.  I also will be trying Win 7 Pro in the coming week.

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: Adding an Additional Domain Controller
« Reply #2 on: September 25, 2012, 01:54:35 am »
A little further update.  I have been able to join a Win7 Pro 32 bit to a Zentyal 3.0 AD.  I haven't taken the time to work out roving profiles but was successful joining.