summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-08 16:54:50 -0700
committerVolker Lendecke <vl@samba.org>2010-09-09 06:19:23 +0200
commit7372a50a0333b362745c89b7f0c17f77db156dec (patch)
tree3252f505d975ab4ce75b522669ec2b7948eba3b7
parenta0de3fc690d30a8fd4b0ebc1bc35670a8ba3109d (diff)
downloadsamba-7372a50a0333b362745c89b7f0c17f77db156dec.tar.gz
samba-7372a50a0333b362745c89b7f0c17f77db156dec.tar.bz2
samba-7372a50a0333b362745c89b7f0c17f77db156dec.zip
s3: Remove unused winbindd_update_creds_by_sid
-rw-r--r--source3/winbindd/winbindd_creds.c8
-rw-r--r--source3/winbindd/winbindd_proto.h4
2 files changed, 0 insertions, 12 deletions
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,