You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symptom
After installing nethserver-directory the admin user is missing and the -update event fails
Expected result
The admin user exists with uid=500
In /var/log/messages
Dec 21 16:46:30 vm5 esmith::event[4495]: Event: nethserver-directory-update
...
Dec 21 16:46:32 vm5 esmith::event[4495]: Action: /etc/e-smith/events/actions/generic_template_expand SUCCESS [0.267819]
Dec 21 16:46:32 vm5 systemd: Starting OpenLDAP Server Daemon...
Dec 21 16:46:33 vm5 systemd: Started OpenLDAP Server Daemon.
Dec 21 16:46:34 vm5 esmith::event[4495]: Error modifying olcDatabase={2}bdb,cn=config
Dec 21 16:46:34 vm5 esmith::event[4495]: LDAP_INVALID_SYNTAX objectClass: value #1 invalid per syntax at /etc/e-smith/events/nethserver-directory-update/S10nethserver-directory-conf line 163.
Dec 21 16:46:34 vm5 esmith::event[4495]: Error adding "relay" backend database: objectClass: value #1 invalid per syntax at /etc/e-smith/events/nethserver-directory-update/S10nethserver-directory-conf line 171.
Dec 21 16:46:34 vm5 esmith::event[4495]: Action: /etc/e-smith/events/nethserver-directory-update/S10nethserver-directory-conf FAILED: 1 [1.410326]
Dec 21 16:46:34 vm5 esmith::event[4495]: LDAP_UNWILLING_TO_PERFORM no global superior knowledge at /etc/e-smith/events/nethserver-directory-update/S11nethserver-directory-dit-setup line 116.
...
Dec 21 16:46:34 vm5 esmith::event[4495]: error merging at /etc/e-smith/events/nethserver-directory-update/S11nethserver-directory-dit-setup line 128.
Dec 21 16:46:34 vm5 esmith::event[4495]: Action: /etc/e-smith/events/nethserver-directory-update/S11nethserver-directory-dit-setup FAILED: 9 [0.125024]
...
Dec 21 16:46:35 vm5 esmith::event[4733]: Event: user-create admin
Dec 21 16:46:35 vm5 esmith::event[4733]: Error initializing libuser: could not bind to LDAP server, first attempt as `cn=libuser,dc=directory,dc=nh': Invalid credentials.
Dec 21 16:46:35 vm5 esmith::event[4733]: Failed to create user private group account `admin`.
Dec 21 16:46:35 vm5 esmith::event[4733]: Action: /etc/e-smith/events/user-create/S04user-create-unix FAILED: 1 [0.210669]
Dec 21 16:46:35 vm5 esmith::event[4733]: LDAP_UNWILLING_TO_PERFORM no global superior knowledge at /etc/e-smith/events/user-create/S20nethserver-directory-organization-modify line 86.
Dec 21 16:46:35 vm5 esmith::event[4733]: [ERROR] Failed to set contact info on entry `uid=admin,ou=People,dc=directory,dc=nh`: no global superior knowledge at /etc/e-smith/events/user-create/S20nethserver-directory-organization-modify line 88.
Dec 21 16:46:35 vm5 esmith::event[4733]: Action: /etc/e-smith/events/user-create/S20nethserver-directory-organization-modify FAILED: 1 [0.068379]
Dec 21 16:46:35 vm5 esmith::event[4733]: Action: /etc/e-smith/events/user-create/S25count-active-user-accounts SUCCESS [0.032729]
...
The text was updated successfully, but these errors were encountered:
Package
nethserver-directory-2.2.0-1.1.ga90636c.ns7.noarch
Symptom
After installing nethserver-directory the
admin
user is missing and the-update
event failsExpected result
The
admin
user exists with uid=500In
/var/log/messages
The text was updated successfully, but these errors were encountered: