summaryrefslogtreecommitdiff
path: root/databases/nss_ldap/patches/patch-ah
blob: d06d5c78a21a1a31dbf1750ed550d04531455278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1 2005/08/30 12:47:52 drochner Exp $

--- ldap-grp.c.orig	2005-08-30 13:51:39.000000000 +0200
+++ ldap-grp.c
@@ -1115,6 +1115,8 @@ char *_nss_ldap_getgrset (char *user)
     }
 #else
   filter = _nss_ldap_filt_getgroupsbymember;
+  gidnumber_attrs[0] = ATM (group, gidNumber);
+  gidnumber_attrs[1] = NULL;
 #endif /* RFC2307BIS */
 
   stat = _nss_ldap_getent_ex (&a, &ctx, (void *) &lia, NULL, 0,