summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-12 08:27:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:23 -0500
commit2a61368ee38cc01f1bf034d1bd1aa1c13a5c0f4c (patch)
tree96044fe6cf30ea799a159a4b8008c67159e86fd6 /source3
parent62c78742c48c90d3a0256305a9e8c1c92b94c648 (diff)
downloadsamba-2a61368ee38cc01f1bf034d1bd1aa1c13a5c0f4c.tar.gz
samba-2a61368ee38cc01f1bf034d1bd1aa1c13a5c0f4c.tar.bz2
samba-2a61368ee38cc01f1bf034d1bd1aa1c13a5c0f4c.zip
r18422: Use LDAPMessage in idmap_ad as well.
Guenther (This used to be commit 533f764084e2feb33570a8dee98eaac636652c7b)
Diffstat (limited to 'source3')
-rw-r--r--source3/sam/idmap_ad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/idmap_ad.c b/source3/sam/idmap_ad.c
index 2f93dd083b..4c927e8540 100644
--- a/source3/sam/idmap_ad.c
+++ b/source3/sam/idmap_ad.c
@@ -149,7 +149,7 @@ static NTSTATUS ad_idmap_get_sid_from_id(DOM_SID *sid, unid_t unid, enum idmap_t
ADS_STATUS rc;
NTSTATUS status = NT_STATUS_NONE_MAPPED;
const char *attrs[] = { "objectSid", NULL };
- void *res = NULL;
+ LDAPMessage *res = NULL;
void *msg = NULL;
char *expr = NULL;
fstring sid_string;
@@ -235,7 +235,7 @@ static NTSTATUS ad_idmap_get_id_from_sid(unid_t *unid, enum idmap_type *id_type,
ADS_ATTR_RFC2307_UIDNUMBER_OID,
ADS_ATTR_RFC2307_GIDNUMBER_OID,
NULL };
- void *res = NULL;
+ LDAPMessage *res = NULL;
void *msg = NULL;
char *expr = NULL;
uint32 atype, uid;