summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_ldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-08 08:26:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:34 -0500
commitff7c0a7c357ab8a0ff9de6d18988933e0b398780 (patch)
tree2382be5d0e35e3ae184413a1668a53e56fb6738d /source3/passdb/pdb_ldap.c
parent175aa92e9e2fa4aa9d0c2fc9d7001ce4fae61a14 (diff)
downloadsamba-ff7c0a7c357ab8a0ff9de6d18988933e0b398780.tar.gz
samba-ff7c0a7c357ab8a0ff9de6d18988933e0b398780.tar.xz
samba-ff7c0a7c357ab8a0ff9de6d18988933e0b398780.zip
r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as an
argument. Volker (This used to be commit 873a5a1211d185fd50e7167d88cbc869f70dfd3f)
Diffstat (limited to 'source3/passdb/pdb_ldap.c')
-rw-r--r--source3/passdb/pdb_ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index afc95fe90f1..3e9f321ce22 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -2245,14 +2245,14 @@ static NTSTATUS ldapsam_getgroup(struct pdb_methods *methods,
*********************************************************************/
static NTSTATUS ldapsam_getgrsid(struct pdb_methods *methods, GROUP_MAP *map,
- DOM_SID sid)
+ const DOM_SID *sid)
{
pstring filter;
pstr_sprintf(filter, "(&(objectClass=%s)(%s=%s))",
LDAP_OBJ_GROUPMAP,
get_attr_key2string(groupmap_attr_list, LDAP_ATTR_GROUP_SID),
- sid_string_static(&sid));
+ sid_string_static(sid));
return ldapsam_getgroup(methods, filter, map);
}