summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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);