From e25e8fac4defd53b14da2d2e4a974ab050b6e0d4 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 14 May 2003 00:59:26 +0000 Subject: Fix pointer return bug in get_unix_attributes() (This used to be commit 04e2fe104dfa4508b59276ecd7bee201d453462e) --- source3/passdb/pdb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); -- cgit