diff options
author | Tim Potter <tpot@samba.org> | 2003-05-14 00:59:26 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-05-14 00:59:26 +0000 |
commit | e25e8fac4defd53b14da2d2e4a974ab050b6e0d4 (patch) | |
tree | 8d02684f1cb3ccce451a7a6d96724780e7bd7797 /source3/passdb/pdb_ldap.c | |
parent | 3bd3125d5ac75f743ca7e47879f0d1b06b8a812d (diff) | |
download | samba-e25e8fac4defd53b14da2d2e4a974ab050b6e0d4.tar.gz samba-e25e8fac4defd53b14da2d2e4a974ab050b6e0d4.tar.bz2 samba-e25e8fac4defd53b14da2d2e4a974ab050b6e0d4.zip |
Fix pointer return bug in get_unix_attributes()
(This used to be commit 04e2fe104dfa4508b59276ecd7bee201d453462e)
Diffstat (limited to 'source3/passdb/pdb_ldap.c')
-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); |