summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-19 19:47:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:47 -0500
commit3c222089ed5aa16b7eb34addb5a2225a54858071 (patch)
tree2a9c49f2675c85046d3c7ac15b34f6cbe398f637 /source3/passdb
parent7eca40ba3ecaccd14575e758b56a5cca4589e030 (diff)
downloadsamba-3c222089ed5aa16b7eb34addb5a2225a54858071.tar.gz
samba-3c222089ed5aa16b7eb34addb5a2225a54858071.tar.bz2
samba-3c222089ed5aa16b7eb34addb5a2225a54858071.zip
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 4cea9bfca1b84db31fae6f7a05ff3247a23fd409)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_get_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_get_set.c b/source3/passdb/pdb_get_set.c
index 466508e99b..6d437867af 100644
--- a/source3/passdb/pdb_get_set.c
+++ b/source3/passdb/pdb_get_set.c
@@ -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 ) {