From 14a66d89893cb388e472625eea01c68d77d343f3 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 13 Apr 2009 17:22:39 +0200 Subject: [PATCH] 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. --- etc/libnss-ldap.conf | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2