summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-14 00:58:41 +0000
committerTim Potter <tpot@samba.org>2003-05-14 00:58:41 +0000
commit8652163471080eb4dd8e7d4a5f36a7f5dddb63d9 (patch)
tree05276cf6545c4deead98e7f2304ef58ec6ccb367
parent402fbc518a5489b33f1c5eafb8e6acb9ee5addbd (diff)
downloadsamba-8652163471080eb4dd8e7d4a5f36a7f5dddb63d9.tar.gz
samba-8652163471080eb4dd8e7d4a5f36a7f5dddb63d9.tar.bz2
samba-8652163471080eb4dd8e7d4a5f36a7f5dddb63d9.zip
Fix pointer return bug in get_unix_attributes()
(This used to be commit 7aa54f0a7f3bcfb5d9560ca3bb88e1549b7ce421)
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 8f4f04d57e..b044850948 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -1565,7 +1565,7 @@ static BOOL get_unix_attributes (struct ldapsam_privates *ldap_state,
if (!get_single_attribute(ldap_state->ldap_struct, entry, "gidNumber", temp))
return False;
- gid = (gid_t)atol(temp);
+ *gid = (gid_t)atol(temp);
pdb_set_unix_homedir(sampass, homedir, PDB_SET);