mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
to ensure it finds the Unix user.
(This used to be commit 4cea9bfca1
)
This commit is contained in:
parent
7eca40ba3e
commit
3c222089ed
@ -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