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:
parent
402fbc518a
commit
8652163471
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user