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
the hostname of the machine the playbook is run onto is "something.georchestra.org"
About 1., each time I try to setup the slapd package I seem to have a different behaviour ; it has always been a mystery to me, sometimes I've got a default database, sometimes not, and when I do, it is hard to understand the logic behind the default root. I think it should depend on the apt configuration. the ansible playbook expects to have already a db installed after the apt step though, but if the created db when installing the package is already in a "dc=georchestra,dc=org" form, then the playbook will fail (because you cannot have a common root between several ldap trees of the same slapd instance).
Also, when loading the memberof, if there were several previous tries with the playbook, it can fail because the "'--continue/-c" option is not passed to ldapadd:
# ldapadd -Y EXTERNAL -H ldapi:/// -c < memberof.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=module,cn=config"
ldap_add: Other (e.g., implementation specific) error (80)
additional info: <olcModuleLoad> handler exited with 1
adding new entry "olcOverlay=memberof,olcDatabase={2}mdb,cn=config"
The text was updated successfully, but these errors were encountered:
In the following conditions:
About 1., each time I try to setup the slapd package I seem to have a different behaviour ; it has always been a mystery to me, sometimes I've got a default database, sometimes not, and when I do, it is hard to understand the logic behind the default root. I think it should depend on the apt configuration. the ansible playbook expects to have already a db installed after the apt step though, but if the created db when installing the package is already in a "dc=georchestra,dc=org" form, then the playbook will fail (because you cannot have a common root between several ldap trees of the same slapd instance).
Also, when loading the memberof, if there were several previous tries with the playbook, it can fail because the "'--continue/-c" option is not passed to ldapadd:
The text was updated successfully, but these errors were encountered: