mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
to ensure it finds the Unix user.
This commit is contained in:
parent
ffec64730b
commit
4cea9bfca1
@ -157,7 +157,7 @@ const DOM_SID *pdb_get_group_sid(struct samu *sampass)
|
||||
if ( sampass->unix_pw ) {
|
||||
pwd = sampass->unix_pw;
|
||||
} else {
|
||||
pwd = getpwnam_alloc( sampass, pdb_get_username(sampass) );
|
||||
pwd = Get_Pwnam_alloc( sampass, pdb_get_username(sampass) );
|
||||
}
|
||||
|
||||
if ( !pwd ) {
|
||||
|
Loading…
Reference in New Issue
Block a user