[Da-tools-commits] ./debian/userdir-ldap r420: merge from alioth: Document how to use unique overlay for uid and keyFingerPrint

Peter Palfrader peter at palfrader.org
Fri May 23 08:04:18 UTC 2008


------------------------------------------------------------
revno: 420
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap
timestamp: Fri 2008-05-23 10:04:18 +0200
message:
  merge from alioth: Document how to use unique overlay for uid and keyFingerPrint
modified:
  debian/changelog
  doc/slapd-config.txt
    ------------------------------------------------------------
    revno: 349.2.54
    committer: Stephen Gran <steve at lobefin.net>
    branch nick: userdir-ldap-common
    timestamp: Sun 2008-05-18 18:00:05 +0100
    message:
      Document how to use unique overlay for uid and keyFingerPrint
    modified:
      debian/changelog
      doc/slapd-config.txt
    ------------------------------------------------------------
    revno: 349.2.55
    committer: Stephen Gran <steve at lobefin.net>
    branch nick: userdir-ldap-common
    timestamp: Sun 2008-05-18 20:41:39 +0100
    message:
      Use new style syntax for unique overlay
    modified:
      doc/slapd-config.txt
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-05-23 08:02:48 +0000
+++ b/debian/changelog	2008-05-23 08:04:18 +0000
@@ -8,6 +8,9 @@
   * Use ud-config to get the emailappend value in ud-replicate, no longer
   hardcoding @debian.org
 
+  [ Stephen Gran ]
+  * Document how to use unique overlay for uid and keyFingerPrint
+
  -- Peter Palfrader <weasel at debian.org>  Fri, 23 May 2008 10:01:51 +0200
 
 userdir-ldap (0.3.30) unstable; urgency=low

=== modified file 'doc/slapd-config.txt'
--- a/doc/slapd-config.txt	2007-12-26 16:23:13 +0000
+++ b/doc/slapd-config.txt	2008-05-18 19:41:39 +0000
@@ -42,6 +42,13 @@
         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_uri ldap:///ou=users,dc=debian,dc=org?uidNumber,uid,keyFingerPrint?sub
+unique_uri ldap:///ou=groups,dc=debian,dc=org?gidNumber,cn?sub
+
 # End----------
 
 Note that in more modern versions of slapd, the "by addr" and "by domain"



More information about the Da-tools-commits mailing list