git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a999e7c
)
bug 624; make sure to set the GUEST SID rather than using the PDB_DEFAULT flag
author
Gerald Carter
<jerry@samba.org>
Thu, 6 Nov 2003 05:46:06 +0000
(
05:46
+0000)
committer
Gerald Carter
<jerry@samba.org>
Thu, 6 Nov 2003 05:46:06 +0000
(
05:46
+0000)
(This used to be commit
ccc7634b1c4b7813a1d09af93572b1209e72dffb
)
source3/passdb/pdb_guest.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_guest.c
b/source3/passdb/pdb_guest.c
index fa29657edccf5df3e83c47abe25cd67d76efea72..5b0237e37c8c192ecab1cc569f378520a158d072 100644
(file)
--- 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_
DEFAUL
T))
+ if (!pdb_set_user_sid_from_rid(sam_account, DOMAIN_USER_RID_GUEST, PDB_
SE
T))
return NT_STATUS_UNSUCCESSFUL;
if (!pdb_set_group_sid_from_rid(sam_account, DOMAIN_GROUP_RID_GUESTS, PDB_DEFAULT))