diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_get_set.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/pdb_get_set.c b/source3/passdb/pdb_get_set.c index 96f6b40b2d..57d95138e3 100644 --- a/source3/passdb/pdb_get_set.c +++ b/source3/passdb/pdb_get_set.c @@ -206,6 +206,7 @@ const struct dom_sid *pdb_get_group_sid(struct samu *sampass) pwd = sampass->unix_pw; } else { pwd = Get_Pwnam_alloc( sampass, pdb_get_username(sampass) ); + sampass->unix_pw = pwd; } if ( !pwd ) { |