[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapo-unique spins its wheels on a non-trivial olcUniqueURI spec



On 9/10/19 7:20 PM, Norman Gray wrote:
The problems are:
   * A plausible-looking spec in olcUniqueURI causes slapadd to spin
     its wheels indefinitely.
> [..]
     dn: olcOverlay=unique,olcDatabase={1}mdb,cn=config
     objectClass: olcOverlayConfig
     objectClass: olcUniqueConfig
     olcOverlay: unique
     olcUniqueURI: ldap:///ou=dept-A,o=example?uidnumber?sub
       ldap:///ou=dept-B,o=example?uidnumber?sub

The above is invalid. Your LDIF should contain separate attribute values for each unique URI:

olcUniqueURI: ldap:///ou=dept-A,o=example?uidnumber?sub
olcUniqueURI: ldap:///ou=dept-B,o=example?uidnumber?sub

Of course slapd should not run crazy because of this.

You can look at a running example config (cn=config read-only):

https://demo.ae-dir.com/web2ldap/read?ldapi://%2Fopt%2Fae-dir%2Frun%2Fslapd%2Fldapi/olcOverlay%3D{3}unique%2ColcDatabase%3D{2}mdb%2Ccn%3Dconfig????bindname=uid%3Daead%2Ccn%3Dae%2Cou%3Dae-dir,X-BINDPW=CorrectHorseBatteryStaple

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature