Hello,
we are trying to replace an Samba 4.1 on Ubuntu 16.04 with the current UCS. During the installation of UCS we choosed “Backup Domain Controller” and “Join AD Domain”, which was successful, because “getent passwd” on the UCS lists the users of the Samba PDC.
We then executed the /usr/lib/univention-ldap/univention-backup2master which started with an error:
ERROR: univention-backup2master can only be started on a domain controller backup. Use -f to proceed anyway
The migration continued, because we started the script with “-f”.
During the migration, the script asked a number of “silly” questions:
'Do you want this reference to be changed from'
"0 100 3268 ucs-7355.dom1.local."'
to
"0 100 3268 ucs-7355.dom1.local."'
Currently the old PDC is switched off, “getent password” doesn’t list any LDAP users and we get a number of errors in different files:
/var/log/univentions/connector.log
19.09.2018 13:21:50,262 MAIN (------ ): DEBUG_INIT
19.09.2018 13:22:27,109 LDAP (ERROR ): Failed to lookup AD LDAP base, using UCR value: {'desc': "Can't contact LDAP server"}
/var/log/univentions/connector-status.log
Wed Sep 19 13:23:11 2018
--- connect failed, failure was: ---
Traceback (most recent call last):
File "/usr/share/pyshared/univention/connector/ad/main.py", line 303, in main
connect()
File "/usr/share/pyshared/univention/connector/ad/main.py", line 191, in connect
baseConfig['%s/ad/listener/dir' % CONFIGBASENAME]
File "/usr/lib/pymodules/python2.7/univention/connector/ad/__init__.py", line 704, in __init__
self.open_ad()
File "/usr/lib/pymodules/python2.7/univention/connector/ad/__init__.py", line 894, in open_ad
self.get_kerberos_ticket()
File "/usr/lib/pymodules/python2.7/univention/connector/ad/__init__.py", line 872, in get_kerberos_ticket
raise kerberosAuthenticationFailed('The following command failed: "%s"' % string.join(cmd_block))
kerberosAuthenticationFailed: The following command failed: "kinit --no-addresses --password-file=/etc/machine.secret ucs-7355$"
Has anyone successfully replaced a Samba with a UCS and can give us a hint how to do this?
Thanks for any hints or suggestions,
Stefan