X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=doc%2Fslapd-config.txt;h=122455d4f29e4cf4a27ba82c6838701dc86ea339;hb=25dbd296540b9f652ababe6c5fdb0a7cf7b4c197;hp=41b42f9af7e6c890ed8acd934e96ccb1aa86f72a;hpb=cc459529a40f016cd0bafb82e6d7498551efd7b6;p=mirror%2Fuserdir-ldap.git diff --git a/doc/slapd-config.txt b/doc/slapd-config.txt index 41b42f9..122455d 100644 --- a/doc/slapd-config.txt +++ b/doc/slapd-config.txt @@ -42,8 +42,22 @@ access to * by dn="uid=admin,ou=users,dc=debian,dc=org" write by group="uid=admin,ou=users,dc=debian,dc=org" write +# Overlays are useful to enforce constraints: + +moduleload /usr/lib/ldap/unique.so +overlay unique +unique_base ou=users,dc=debian,dc=org +unique_attributes uid keyFingerPrint + # End---------- +Note that in more modern versions of slapd, the "by addr" and "by domain" +syntax has changed and the following should be used instead: + by peername.ip=127.0.0.1 read + by domain.subtree=debian.org read + + + Here is the initial seed file to import and setup the proper entries: dn: dc=org