Zentyal Forum, Linux Small Business Server
Zentyal Server => Directory and Authentication => Topic started by: Pelle.Hanses on March 13, 2018, 11:12:13 am
-
Hi,
I'm trying to add a second Zentyal 5.0 server as additional domain controller to an existing Zentyal 5.0 server. I get the following error:
Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/
The following modules failed while saving their changes, their state is unknown: samb
Some info:
The domain is pipos.eu
IP of primary existing Zentyal server 192.168.80.50
IP of the new additional Zentyal server 192.168.80.55
Here are some of the errors in /var/log/zentyal/zentyal.log
ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command samba-tool domain join pipos.eu DC --username='administrator' --workgroup='pipos' --password=`cat /var/lib/zentyal/tmp/2N62OK` --server='192.168.80.50' --dns-backend=BIND9_DLZ --realm='PIPOS.EU' --site='Default-First-Site-Name' failed.
Error output: GENSEC backend 'gssapi_spnego' registered
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS - <Entry CN=DC01,OU=Domain Controllers,DC=pipos,DC=eu already exists> <>
Error output: GENSEC backend 'gssapi_spnego' registered
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS - <Entry CN=DC01,OU=Domain Controllers,DC=pipos,DC=eu already exists> <>
Box::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/sMtZhApi9o.cmd 2> /var/lib/zentyal/tmp/stderr', 'samba-tool domain join pipos.eu DC --username=\'administrator\' --workgroup=\'pipos\' --password=`cat /var/lib/zentyal/tmp/2N62OK` --server=\'192.168.80.50\' --dns-backend=BIND9_DLZ --realm=\'PIPOS.EU\' --site=\'Default-First-Site-Name\' ', 65280, 'ARRAY(0x87960b0)', 'ARRAY(0x3f08020)') called at /usr/share/perl5/EBox/Sudo.pm line 210
2018/03/13 11:06:14 ERROR> GlobalImpl.pm:661 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: root command samba-tool domain join pipos.eu DC --username='administrator' --workgroup='pipos' --password=`cat /var/lib/zentyal/tmp/2N62OK` --server='192.168.80.50' --dns-backend=BIND9_DLZ --realm='PIPOS.EU' --site='Default-First-Site-Name' failed.
2018/03/13 11:06:14 ERROR> GlobalImpl.pm:736 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba at The following modules failed while saving their changes, their state is unknown: samba at /usr/share/perl5/EBox/GlobalImpl.pm line 736
Can someone help me to add this second server to the domain?
/Pelle
-
I found the problem (I think so). I probably had set wrong Netbios name. I did set it to the existing servers Netbiosname. I reinstalled the new server and when joining the domain I set it to the new servers name and all worked well.