Univention Bugzilla – Bug 47601
Provide method to "rejoin" app containers
Last modified: 2021-05-14 16:34:29 CEST
A customer had the following problem: The nextcloud container creates a memberserver object and uses it for LDAP binds: cn=nextc-52593883,cn=memberserver,cn=computers,dc=ldap,dc=base The customer upgraded the nextcloud app. The memberserver object was deleted and a new one was created: Deleted: cn=nextc-52593883,cn=memberserver,cn=computers,dc=ldap,dc=base Created: cn=nextc-42830969,cn=memberserver,cn=computers,dc=ldap,dc=base Afterwards the customer reset the host system to a snapshot taken before the app upgrade. Now the app's container's hostname was nextc-52593883 again. The memberserver object for that hostname was gone though, which resulted in LDAP binds failing. It would be nice to have a subcommand for univention-app which creates a memberserver object for a certain container app using it's hostname, the app's name and version and the /etc/machine.secret Using that command would at least fix the old LDAP bind configuration of the app immediately. Cleaning up the objects (and app center registrations?) could also be done (maybe with a separate parameter) univention-app rejoin nextcloud
Fixing bug 47492 might make this request obsolete. Maybe it can be considered as a duplicate?
(In reply to Erik Damrose from comment #1) > Fixing bug 47492 might make this request obsolete. Maybe it can be > considered as a duplicate? Is there already a decision that bug 47492 will be fixed the way Stefan described there? In that case this would be partly obsolete indeed. It might still be helpful to be able to reset the machine account password with such a command.
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.