Document how to use unique overlay for uid and keyFingerPrint
authorStephen Gran <steve@lobefin.net>
Sun, 18 May 2008 17:00:05 +0000 (18:00 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 18 May 2008 17:00:05 +0000 (18:00 +0100)
debian/changelog
doc/slapd-config.txt

index 55f5952..a387633 100644 (file)
@@ -1,10 +1,14 @@
 userdir-ldap (0.3.XX) Xnstable; urgency=low
 
+  [ Peter Palfrader ]
   * ud-replicate: sgran pointed out that if all we care about ignoring is
     EEXIST then we should use mkdir -p instead of [ -d userkeys ] || mkdir
     userkeys.
 
- -- Peter Palfrader <weasel@debian.org>  Sun, 18 May 2008 13:40:04 +0200
+  [ Stephen Gran ]
+  * Document how to use unique overlay for uid and keyFingerPrint
+
+ -- Stephen Gran <sgran@debian.org>  Sun, 18 May 2008 17:58:46 +0100
 
 userdir-ldap (0.3.25+common1) unstable; urgency=low
 
index 1804081..122455d 100644 (file)
@@ -42,6 +42,13 @@ 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"