1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Fix pointer return bug in get_unix_attributes()

(This used to be commit 7aa54f0a7f)
This commit is contained in:
Tim Potter 2003-05-14 00:58:41 +00:00
parent 402fbc518a
commit 8652163471

View File

@ -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);