summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_creds.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-08 19:12:21 -0700
committerVolker Lendecke <vl@samba.org>2010-09-09 06:19:25 +0200
commiteedf476c248319efa2fcf552dc330b10423a1bb0 (patch)
tree5788cc58800e8d0194ad64a7012cb676778b56b5 /source3/winbindd/winbindd_creds.c
parenteaf778593f7e56774913ec4348b1c59a9488676c (diff)
downloadsamba-eedf476c248319efa2fcf552dc330b10423a1bb0.tar.gz
samba-eedf476c248319efa2fcf552dc330b10423a1bb0.tar.bz2
samba-eedf476c248319efa2fcf552dc330b10423a1bb0.zip
s3: Remove "mem_ctx" from a few functions
Diffstat (limited to 'source3/winbindd/winbindd_creds.c')
-rw-r--r--source3/winbindd/winbindd_creds.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/winbindd/winbindd_creds.c b/source3/winbindd/winbindd_creds.c
index 174eba4f4d..b1910b62c9 100644
--- a/source3/winbindd/winbindd_creds.c
+++ b/source3/winbindd/winbindd_creds.c
@@ -54,7 +54,6 @@ NTSTATUS winbindd_get_creds(struct winbindd_domain *domain,
NTSTATUS winbindd_store_creds(struct winbindd_domain *domain,
- TALLOC_CTX *mem_ctx,
const char *user,
const char *pass,
struct netr_SamInfo3 *info3)
@@ -128,20 +127,18 @@ NTSTATUS winbindd_store_creds(struct winbindd_domain *domain,
}
NTSTATUS winbindd_update_creds_by_info3(struct winbindd_domain *domain,
- TALLOC_CTX *mem_ctx,
const char *user,
const char *pass,
struct netr_SamInfo3 *info3)
{
- return winbindd_store_creds(domain, mem_ctx, user, pass, info3);
+ return winbindd_store_creds(domain, user, pass, info3);
}
NTSTATUS winbindd_update_creds_by_name(struct winbindd_domain *domain,
- TALLOC_CTX *mem_ctx,
const char *user,
const char *pass)
{
- return winbindd_store_creds(domain, mem_ctx, user, pass, NULL);
+ return winbindd_store_creds(domain, user, pass, NULL);
}