diff options
author | Gerald Carter <jerry@samba.org> | 2003-11-06 05:46:23 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-11-06 05:46:23 +0000 |
commit | 662adfa105967732982a89aa5a0718994a95bc6b (patch) | |
tree | c1a5624ef489b058287adb1f573f922e9a4dd58a | |
parent | 9144e46889b68fd4136799f10f2b3e5610346976 (diff) | |
download | samba-662adfa105967732982a89aa5a0718994a95bc6b.tar.gz samba-662adfa105967732982a89aa5a0718994a95bc6b.tar.bz2 samba-662adfa105967732982a89aa5a0718994a95bc6b.zip |
bug 624; make sure to set the GUEST SID rather than using the PDB_DEFAULT flag
(This used to be commit 7a60693a47823c2a174886ad44e7af102440ba4d)
-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 3cd6efb38a..e2b38b1e76 100644 --- a/source3/passdb/pdb_guest.c +++ b/source3/passdb/pdb_guest.c @@ -60,7 +60,7 @@ static NTSTATUS guestsam_getsampwnam (struct pdb_methods *methods, SAM_ACCOUNT * if (!pdb_set_acct_ctrl(sam_account, ACB_NORMAL, PDB_DEFAULT)) return NT_STATUS_UNSUCCESSFUL; - if (!pdb_set_user_sid_from_rid(sam_account, DOMAIN_USER_RID_GUEST, PDB_DEFAULT)) + if (!pdb_set_user_sid_from_rid(sam_account, DOMAIN_USER_RID_GUEST, PDB_SET)) return NT_STATUS_UNSUCCESSFUL; if (!pdb_set_group_sid_from_rid(sam_account, DOMAIN_GROUP_RID_GUESTS, PDB_DEFAULT)) |