summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-08 19:09:21 -0700
committerVolker Lendecke <vl@samba.org>2010-09-09 06:19:24 +0200
commiteaf778593f7e56774913ec4348b1c59a9488676c (patch)
tree5ecb5c720d3aad5332dff83da35d48ef87727eb9 /source3/winbindd
parentd38e1d13eab1a8d8aa8c660a40f6803aa62c3d68 (diff)
downloadsamba-eaf778593f7e56774913ec4348b1c59a9488676c.tar.gz
samba-eaf778593f7e56774913ec4348b1c59a9488676c.tar.bz2
samba-eaf778593f7e56774913ec4348b1c59a9488676c.zip
s3: Remove "mem_ctx" from wcache_save_creds()
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cache.c1
-rw-r--r--source3/winbindd/winbindd_creds.c2
-rw-r--r--source3/winbindd/winbindd_proto.h1
3 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index d0f0e9b42f..9c48c71aa2 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -1359,7 +1359,6 @@ NTSTATUS wcache_get_creds(struct winbindd_domain *domain,
/* Store creds for a SID - only writes out new salted ones. */
NTSTATUS wcache_save_creds(struct winbindd_domain *domain,
- TALLOC_CTX *mem_ctx,
const struct dom_sid *sid,
const uint8 nt_pass[NT_HASH_LEN])
{
diff --git a/source3/winbindd/winbindd_creds.c b/source3/winbindd/winbindd_creds.c
index c4a700b70d..174eba4f4d 100644
--- a/source3/winbindd/winbindd_creds.c
+++ b/source3/winbindd/winbindd_creds.c
@@ -112,7 +112,7 @@ NTSTATUS winbindd_store_creds(struct winbindd_domain *domain,
dump_data_pw("nt_pass", nt_pass, NT_HASH_LEN);
- status = wcache_save_creds(domain, mem_ctx, &cred_sid, nt_pass);
+ status = wcache_save_creds(domain, &cred_sid, nt_pass);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index bc703a8775..60fb647c93 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -90,7 +90,6 @@ NTSTATUS wcache_get_creds(struct winbindd_domain *domain,
const uint8 **cached_nt_pass,
const uint8 **cached_salt);
NTSTATUS wcache_save_creds(struct winbindd_domain *domain,
- TALLOC_CTX *mem_ctx,
const struct dom_sid *sid,
const uint8 nt_pass[NT_HASH_LEN]);
void wcache_invalidate_samlogon(struct winbindd_domain *domain,