ldap groupldap.c
Ignacio Coupeau
icoupeau at unav.es
Thu Jul 8 16:23:13 GMT 1999
I think the "(member=%s,*)" in the ldapsearch don't works fine...
perhaps is better "(member=%s)" adding the group members (a line for
member) with a "add: member...".
The code I suggest to change is:
-
static BOOL ldapgroup_getusergroups(const char *name, DOMAIN_GRP
**groups,int *num_grps)
.....
slprintf(filter, sizeof(pstring)-1,
"(&(member=%s,*)(objectclass=sambaGroup))", name);
--
for
> slprintf(filter, sizeof(pstring)-1,
> "(&(member=%s)(objectclass=sambaGroup))", name);
An other question, someone knows what sambaAlias is?
Thanks,
Ignacio
____________________________________________________
Ignacio Coupeau, Ph.D. e-mail: icoupeau at unav.es
CTI, Director fax: 948 425619
University of Navarra voice: 948 425600
Pamplona, SPAIN http://www.unav.es/cti/
More information about the samba-ntdom
mailing list