1
0
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:
Gerald Carter 2006-09-19 19:47:54 +00:00 committed by Gerald (Jerry) Carter
parent ffec64730b
commit 4cea9bfca1

View File

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