From: Matthijs Kooijman Date: Mon, 13 Apr 2009 15:22:39 +0000 (+0200) Subject: nss: Update to use our custom LDAP schema. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=14a66d89893cb388e472625eea01c68d77d343f3;p=matthijs%2Fservers%2Fdrsnuggles.git nss: Update to use our custom LDAP schema. This uses the uniqueMember attribute containing dns instead of the memberUid attribute containing usernames for forming groups. Additionally, it tells nss-ldap about our replacement for the posixGroup objectClass. --- diff --git a/etc/libnss-ldap.conf b/etc/libnss-ldap.conf index d4991e1..7154a4d 100644 --- a/etc/libnss-ldap.conf +++ b/etc/libnss-ldap.conf @@ -11,3 +11,9 @@ uri ldap://ldap.drsnuggles.stderr.nl # The LDAP version to use ldap_version 3 + +# Use uniqueMember +nss_schema rfc2307bis + +# Use our custom posixGroup replacement +nss_map_objectclass posixGroup simplePosixGroup