s3: Remove unused winbindd_update_creds_by_sid
authorVolker Lendecke <vl@samba.org>
Wed, 8 Sep 2010 23:54:50 +0000 (16:54 -0700)
committerVolker Lendecke <vl@samba.org>
Thu, 9 Sep 2010 04:19:23 +0000 (06:19 +0200)
source3/winbindd/winbindd_creds.c
source3/winbindd/winbindd_proto.h

index 00b38e3aaedf7be12199c8fc0684955d61e59822..39968ce46e2b3c36c6d79bdf0b6f5edd19f39313 100644 (file)
@@ -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,
index 5b33dceacc655fdd17f8bb77ecc64493e73e3a85..9ea2369fc47a11931c6f38ae1fe62abec52c454e 100644 (file)
@@ -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,