Univention Bugzilla – Bug 51640
10univention-ldap-server.inst does univention-ldapsearch without correct credentials
Last modified: 2020-07-08 09:16:10 CEST
10univention-ldap-server.inst contains S4_DCS="$(univention-ldapsearch "(&(objectclass=univentionDomainController)(univentionService=Samba 4))" cn | sed -n 's/^cn: \(.*\)/\1/p')" which is not using the correct credentials to talk to the LDAP server. This breaks the "if"-condition and leads to the error message: "No such file or directory" in: __MSG__:Einrichten von 10univention-ldap-server __STEP__:7 Configure 10univention-ldap-server.inst Wed Jul 8 07:33:07 CEST 2020 2020-07-08 07:33:07.195118303+02:00 (in joinscript_init) /etc/machine.secret: No such file or directory /etc/machine.secret: No such file or directory Adding SRV record "ldap tcp 0 100 7389 master093.autotest093.local." to zone autotest093.local... done Adding ZONE record "root@autotest093.local. 1 28800 10800 604800 108001 master093.autotest093.local." to zone 10.207...