Univention Bugzilla – Bug 36285
Joining into AD domain hangs if Admin password is expired
Last modified: 2019-01-03 07:16:28 CET
Seen in System setup: The password is accepted by the connection check, but when it comes to actually joining, the join script hangs forever with: net ads join -UAdministrator Turned out the password for the Administrator was expired and Kerberos waited for some user interaction. No idea whether there are more reasons why the script may hang, maybe one should implement a timout? Or one may try to find out whether the password is expired?
Created attachment 6211 [details] kerberos_auth.py We should either do a simple kinit first like kinit Administrator && echo ok or implement something similar in python, see simple example script attached.
This would fit ideally with Bug 37243.
Created attachment 6569 [details] check_for_expired_password.patch
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.