summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-04 08:50:57 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-04 08:50:57 +0000
commitc1a357ecb50efc645f1c5e5f352c96e97b4e0c66 (patch)
treea28b0fe7b4e0714b48f4d74c5811a7646f135889 /source3
parent2a9c68cdc8fe528803ef1bd48fa467082ebc235f (diff)
downloadsamba-c1a357ecb50efc645f1c5e5f352c96e97b4e0c66.tar.gz
samba-c1a357ecb50efc645f1c5e5f352c96e97b4e0c66.tar.bz2
samba-c1a357ecb50efc645f1c5e5f352c96e97b4e0c66.zip
Merge from HEAD - don't base RID on a name being the lp_guest_account(), let
the actual passdb modules decide that. Andrew Bartlett (This used to be commit f3432869b9c761a029fd804d244d0ea26b26173d)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index e13f0e9dfb..13e85bd21f 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -826,8 +826,6 @@ DOM_SID *local_uid_to_sid(DOM_SID *psid, uid_t uid)
if (pdb_getsampwnam(sam_user, pass->pw_name)) {
sid_copy(psid, pdb_get_user_sid(sam_user));
- } else if (strcmp(pass->pw_name, lp_guestaccount()) == 0) {
- sid_append_rid(psid, DOMAIN_USER_RID_GUEST);
} else {
sid_append_rid(psid, fallback_pdb_uid_to_user_rid(uid));
}