summaryrefslogtreecommitdiff
path: root/source3/groupdb/groupldap.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-08 19:04:04 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-08 19:04:04 +0000
commita424da878f257768c140b1d010335735bd3da2c1 (patch)
tree9f44b83684aadccb4f44690379b4991f3e67af8b /source3/groupdb/groupldap.c
parent55c0c85f4de322ab0dff777dbf2b4a2c09a96886 (diff)
downloadsamba-a424da878f257768c140b1d010335735bd3da2c1.tar.gz
samba-a424da878f257768c140b1d010335735bd3da2c1.tar.bz2
samba-a424da878f257768c140b1d010335735bd3da2c1.zip
Ignacio Coupeau <icoupeau@unav.es> suggested modification to ldap search.
(This used to be commit 7d6337641703884a5c6914ca6e292d67ea0c803b)
Diffstat (limited to 'source3/groupdb/groupldap.c')
-rw-r--r--source3/groupdb/groupldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/groupldap.c b/source3/groupdb/groupldap.c
index 4411ead14c..08e5d24efa 100644
--- a/source3/groupdb/groupldap.c
+++ b/source3/groupdb/groupldap.c
@@ -222,7 +222,7 @@ static DOMAIN_GRP *ldapgroup_getgrpbynam(const char *name,
return (False);
slprintf(filter, sizeof(filter)-1,
- "(&(cn=%s)(objectClass=sambaGroup))", name);
+ "(&(cn=%s,*)(objectClass=sambaGroup))", name);
ldap_search_for(filter);
ret = ldapgroup_getgrp(&domgrp, members, num_membs);