From 7372a50a0333b362745c89b7f0c17f77db156dec Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 8 Sep 2010 16:54:50 -0700 Subject: s3: Remove unused winbindd_update_creds_by_sid --- source3/winbindd/winbindd_creds.c | 8 -------- source3/winbindd/winbindd_proto.h | 4 ---- 2 files changed, 12 deletions(-) (limited to 'source3') diff --git a/source3/winbindd/winbindd_creds.c b/source3/winbindd/winbindd_creds.c index 00b38e3aae..39968ce46e 100644 --- a/source3/winbindd/winbindd_creds.c +++ b/source3/winbindd/winbindd_creds.c @@ -142,14 +142,6 @@ NTSTATUS winbindd_update_creds_by_info3(struct winbindd_domain *domain, return winbindd_store_creds(domain, mem_ctx, user, pass, info3, NULL); } -NTSTATUS winbindd_update_creds_by_sid(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, - const struct dom_sid *sid, - const char *pass) -{ - return winbindd_store_creds(domain, mem_ctx, NULL, pass, NULL, sid); -} - NTSTATUS winbindd_update_creds_by_name(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const char *user, diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 5b33dceacc..9ea2369fc4 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -241,10 +241,6 @@ NTSTATUS winbindd_update_creds_by_info3(struct winbindd_domain *domain, const char *user, const char *pass, struct netr_SamInfo3 *info3); -NTSTATUS winbindd_update_creds_by_sid(struct winbindd_domain *domain, - TALLOC_CTX *mem_ctx, - const struct dom_sid *sid, - const char *pass); NTSTATUS winbindd_update_creds_by_name(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const char *user, -- cgit