summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-05-03 18:34:32 +0200
committerChristian Ambach <ambi@samba.org>2012-05-03 23:22:05 +0200
commit299c13b7f60f2e3faaf73d6b3370acf99021963d (patch)
treee8a3e817b4f414eae6fd6b1291eead4b9463a6ec
parenta9c981ec0be93f0072250ba6b92a53dc5636f422 (diff)
downloadsamba-299c13b7f60f2e3faaf73d6b3370acf99021963d.tar.gz
samba-299c13b7f60f2e3faaf73d6b3370acf99021963d.tar.bz2
samba-299c13b7f60f2e3faaf73d6b3370acf99021963d.zip
s3:passdb fix a compiler warning
this one could have caused crashes Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu May 3 23:22:05 CEST 2012 on sn-devel-104
-rw-r--r--source3/passdb/pdb_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index f88ad75de7..df9b7b3a95 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -2258,7 +2258,7 @@ static bool pdb_ads_sid_to_id(struct pdb_methods *m, const struct dom_sid *sid,
} else {
gid_t gid;
id->type = ID_TYPE_GID;
- if (!tldap_pull_uint32(msg[0], "gidNumber", gid)) {
+ if (!tldap_pull_uint32(msg[0], "gidNumber", &gid)) {
DEBUG(10, ("Did not find gidNumber\n"));
goto fail;
}