diff options
author | Tim Potter <tpot@samba.org> | 2003-05-14 00:58:41 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-05-14 00:58:41 +0000 |
commit | 8652163471080eb4dd8e7d4a5f36a7f5dddb63d9 (patch) | |
tree | 05276cf6545c4deead98e7f2304ef58ec6ccb367 /source3/passdb | |
parent | 402fbc518a5489b33f1c5eafb8e6acb9ee5addbd (diff) | |
download | samba-8652163471080eb4dd8e7d4a5f36a7f5dddb63d9.tar.gz samba-8652163471080eb4dd8e7d4a5f36a7f5dddb63d9.tar.bz2 samba-8652163471080eb4dd8e7d4a5f36a7f5dddb63d9.zip |
Fix pointer return bug in get_unix_attributes()
(This used to be commit 7aa54f0a7f3bcfb5d9560ca3bb88e1549b7ce421)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 2 |
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); |