summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_pam.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-08-24 16:19:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:22 -0500
commitdab71bed4e61b816b112433fc44e5f7259e4d2ab (patch)
tree245dd0764026f97c66cf3456360cbfefeebc671c /source3/nsswitch/winbindd_pam.c
parent38d08ad68c44304fe151b518f41a232bcc762261 (diff)
downloadsamba-dab71bed4e61b816b112433fc44e5f7259e4d2ab.tar.gz
samba-dab71bed4e61b816b112433fc44e5f7259e4d2ab.tar.bz2
samba-dab71bed4e61b816b112433fc44e5f7259e4d2ab.zip
r9588: remove netsamlogon_cache interface...everything seems to work fine. Will deal with any fallout from special environments using a non-cache solution
(This used to be commit e1de6f238f3981d81e49fb41919fdce4f07c8280)
Diffstat (limited to 'source3/nsswitch/winbindd_pam.c')
-rw-r--r--source3/nsswitch/winbindd_pam.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c
index 4797ba79f4..64969a6cf4 100644
--- a/source3/nsswitch/winbindd_pam.c
+++ b/source3/nsswitch/winbindd_pam.c
@@ -413,9 +413,6 @@ enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
}
if (NT_STATUS_IS_OK(result)) {
- netsamlogon_cache_store(state->mem_ctx, name_user, &info3);
- wcache_invalidate_samlogon(find_domain_from_name(name_domain), &info3);
-
/* Check if the user is in the right group */
if (!NT_STATUS_IS_OK(result = check_info3_in_group(state->mem_ctx, &info3, state->request.data.auth.require_membership_of_sid))) {
@@ -721,9 +718,6 @@ enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain,
}
if (NT_STATUS_IS_OK(result)) {
- netsamlogon_cache_store( state->mem_ctx, name_user, &info3 );
- wcache_invalidate_samlogon(find_domain_from_name(name_domain), &info3);
-
if (!NT_STATUS_IS_OK(result = check_info3_in_group(state->mem_ctx, &info3, state->request.data.auth_crap.require_membership_of_sid))) {
DEBUG(3, ("User %s is not in the required group (%s), so plaintext authentication is rejected\n",
state->request.data.auth_crap.user,