r18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
authorGerald Carter <jerry@samba.org>
Tue, 19 Sep 2006 19:47:54 +0000 (19:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:00:47 +0000 (12:00 -0500)
to ensure it finds the Unix user.
(This used to be commit 4cea9bfca1b84db31fae6f7a05ff3247a23fd409)

source3/passdb/pdb_get_set.c

index 466508e99b6b7821ef0ed0c7a6441affe06fd42f..6d437867af69fe109d4fe8fec2c0f787ee6a62ae 100644 (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 ) {