diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-08 19:12:21 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-09 06:19:25 +0200 |
commit | eedf476c248319efa2fcf552dc330b10423a1bb0 (patch) | |
tree | 5788cc58800e8d0194ad64a7012cb676778b56b5 /source3/winbindd/winbindd_pam.c | |
parent | eaf778593f7e56774913ec4348b1c59a9488676c (diff) | |
download | samba-eedf476c248319efa2fcf552dc330b10423a1bb0.tar.gz samba-eedf476c248319efa2fcf552dc330b10423a1bb0.tar.bz2 samba-eedf476c248319efa2fcf552dc330b10423a1bb0.zip |
s3: Remove "mem_ctx" from a few functions
Diffstat (limited to 'source3/winbindd/winbindd_pam.c')
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index c162cc6feb..e71e152d44 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -1004,7 +1004,6 @@ static NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, my_info3->base.bad_password_count = 0; result = winbindd_update_creds_by_info3(domain, - state->mem_ctx, state->request->data.auth.user, state->request->data.auth.pass, my_info3); @@ -1052,7 +1051,6 @@ static NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, failed: result = winbindd_update_creds_by_info3(domain, - state->mem_ctx, state->request->data.auth.user, NULL, my_info3); @@ -1615,7 +1613,6 @@ process_result: && lp_winbind_offline_logon()) { result = winbindd_store_creds(domain, - state->mem_ctx, state->request->data.auth.user, state->request->data.auth.pass, info3); @@ -1933,8 +1930,7 @@ done: if (NT_STATUS_IS_OK(result) && (state->request->flags & WBFLAG_PAM_CACHED_LOGIN)) { if (lp_winbind_offline_logon()) { result = winbindd_update_creds_by_name(contact_domain, - state->mem_ctx, user, - newpass); + user, newpass); /* Again, this happens when we login from gdm or xdm * and the password expires, *BUT* cached crendentials * doesn't exist. winbindd_update_creds_by_name() |