diff options
Diffstat (limited to 'source3/passdb/pdb_guest.c')
-rw-r--r-- | source3/passdb/pdb_guest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_guest.c b/source3/passdb/pdb_guest.c index f5cd3d996d..359e2285a3 100644 --- a/source3/passdb/pdb_guest.c +++ b/source3/passdb/pdb_guest.c @@ -54,7 +54,7 @@ static NTSTATUS guestsam_getsampwnam (struct pdb_methods *methods, SAM_ACCOUNT * if (!pdb_set_fullname(sam_account, guest_account, PDB_SET)) return NT_STATUS_UNSUCCESSFUL; - if (!pdb_set_domain(sam_account, lp_workgroup(), PDB_DEFAULT)) + if (!pdb_set_domain(sam_account, get_global_sam_name(), PDB_DEFAULT)) return NT_STATUS_UNSUCCESSFUL; if (!pdb_set_acct_ctrl(sam_account, ACB_NORMAL, PDB_DEFAULT)) |