Hallo allerseits,
ich arbeite gerade an einem opsi-Paket welches auf einem Ubuntu Rechner die Pakete aus
https://launchpad.net/~univention-dev/+archive/ubuntu/ppa installiert und dann
univention-domain-join-cli ausführt.
Das gibt eine DnsConfigurationException.
Meine Frage: Welche Vorausetzungen müssen gegeben sein damit das Funktioniert:
Muss der Rechner der gejoint werden soll dem master schon bekannt sein ?
Darf der Rechner zum Zeitpunkt des joins noch von einem anderen DHCP Server seinen (anderen) Nameserver zugewisen haben ?
Danke schonmal und Gruß aus Mainz nach Bremen
detlef oertel
Hier die Ausgabe:
root@ubuntu:/home/user# univention-domain-join-cli --username administrator --password linux123 --master-ip 172.16.166.111 Warning: /etc/resolvconf/resolv.conf.d/base already exists.
Warning: /etc/ldap/ldap.conf already exists.
Warning: /etc/krb5.conf already exists.
Created a backup of all configuration files, that will be modified at '/var/univention-backup/20180411104732_domain-join'.
Writing /etc/resolvconf/resolv.conf.d/base
Applying new resolvconf settings.
Setting up DNS did not work. Try removing any DNS settings in the network-manager and give this tool the IP address of the DC master.
An error occurred. Please check /var/log/univention/domain-join-cli.log for more information.
root@ubuntu:/home/user# cat /var/log/univention/domain-join-cli.log
2018-04-11 12:47:32,991 userinfo WARNING Warning: /etc/resolvconf/resolv.conf.d/base already exists.
2018-04-11 12:47:32,994 userinfo WARNING Warning: /etc/ldap/ldap.conf already exists.
2018-04-11 12:47:32,996 userinfo WARNING Warning: /etc/krb5.conf already exists.
2018-04-11 12:47:32,997 userinfo INFO Created a backup of all configuration files, that will be modified at '/var/univention-backup/20180411104732_domain-join'.
2018-04-11 12:47:33,005 userinfo INFO Writing /etc/resolvconf/resolv.conf.d/base
2018-04-11 12:47:33,006 userinfo INFO Applying new resolvconf settings.
2018-04-11 12:47:33,031 userinfo CRITICAL Setting up DNS did not work. Try removing any DNS settings in the network-manager and give this tool the IP address of the DC master.
2018-04-11 12:47:33,032 userinfo CRITICAL An error occurred. Please check /var/log/univention/domain-join-cli.log for more information.
2018-04-11 12:47:33,032 debugging CRITICAL
Traceback (most recent call last):
File "/usr/sbin/univention-domain-join-cli", line 195, in <module>
distribution_joiner.join_domain()
File "/usr/lib/python2.7/dist-packages/univention_domain_join/distributions/ubuntu.py", line 95, in join_domain
DnsConfigurator(self.nameservers, self.domain).configure_dns()
File "/usr/lib/python2.7/dist-packages/univention_domain_join/join_steps/dns_configurator.py", line 75, in configure_dns
self.check_if_dns_works()
File "/usr/lib/python2.7/dist-packages/univention_domain_join/join_steps/dns_configurator.py", line 86, in check_if_dns_works
raise DnsConfigurationException()
DnsConfigurationException
root@ubuntu:/home/user#