Univention Bugzilla – Bug 29697
Traceback im setup.log auf DC Slave nach IP-Änderungsversuch
Last modified: 2013-11-19 06:42:26 CET
Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 397, in <module> main() File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 350, in main lo, position = bind() File "/usr/share/univention-directory-manager-tools/univention-dnsedit", line 141, in bind lo, position = uldap.getAdminConnection(start_tls) File "/usr/lib/pymodules/python2.6/univention/admin/uldap.py", line 63, in getAdminConnection lo=univention.uldap.getAdminConnection(start_tls, decode_ignorelist=decode_ignorelist) File "/usr/lib/pymodules/python2.6/univention/uldap.py", line 68, in getAdminConnection bindpw=open('/etc/ldap.secret').read() IOError: [Errno 2] No such file or directory: '/etc/ldap.secret' Das könnte mitverantwortlich dafür sein, dass der Slave beim Ändern seiner IP Adresse seine aRecords nicht anpassen kann (stattdessen wird ein LDAP-Locking Objekt angelegt).
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2. As such, this bug is moved to the new target milestone.
Should be checked together with Bug #28670.
qemu://xen12.knut.univention.de/system#ucs32-64-slave
The traceback could not be reproduced on my UCS-3.2~ system. It is unlikely to occur again, since the code was rewritten to check for proper LDAP credentials. From my research the USS JS front-end currently does not provide a way to change a slaves IP configuration and to provide the required LDAP credentials. This means that currently there's no way to allow a DC slave or member server to update its own host record by just using its host credentials, nor can the user using UMC provide the required credentials: # udm computers/`ucr get server/role` modify --binddn `ucr get ldap/hostdn` --bindpwdfile /etc/machine.secret --dn `ucr get ldap/hostdn` --set ip=1.2.3.4 Permission denied.
*** Bug 27607 has been marked as a duplicate of this bug. ***
could not reproduce the traceback (but as mentioned in comment #5 changing a slaves ip does not change the ldap objects -> Bug #33001)
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".