Hi!
I'm trying to script a reconfiguration of out OpenLDAP servers, also changing the replication details.
After dropping the old syncrepl overlay, I tried to add a new one like this:
dn: olcOverlay={0}syncprov,olcDatabase={0}config,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
I deliberately did not add more specific attributes, because I wanted to add them later.
However I forgot to set olcOverlay.
The point is that both, ldapmodify and slapd become …
[View More]unresponsive using that LDIF, at least when provided as
ldapmodify -Y EXTERNAL -H ldapi:/// <<LDIF
...
LDIF
Is this a bug?
Seen in OpenLDAP 2.5 provided by SLES15 SP6.
From a coredump I forced, I see that the threads are all waiting, using one of these:
__pthread_clockjoin_ex
pthread_cond_wait
__pthread_clockjoin_ex
Kind regards,
Ulrich Windl
[View Less]
I have an amost philosophical question about LDIF and OenLDAP:
Considering
dn: olcDatabase={1}mdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcMdbConfig
olcDatabase: {1}mdb
# ...
I wonder why olcDatabase needs the "{1}" when olcDatabase is a single-valued attribute.
I understand that "olcDatabase={1}mdb" is needed for ordering the databases within cn=config,
But why is the "{1}" repeated for the actual attribute?
When I tried to remove it, I saw that after a slapcat it's there …
[View More]again.
Kind regards,
Ulrich
[View Less]