winbind: Remove wbint_QueryUser
authorVolker Lendecke <vl@samba.org>
Mon, 2 Jan 2017 10:32:19 +0000 (10:32 +0000)
committerVolker Lendecke <vl@samba.org>
Wed, 4 Jan 2017 11:22:12 +0000 (12:22 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
librpc/idl/winbind.idl
source3/winbindd/winbindd_dual_srv.c

index d38b17a0da4bdf5bba7d319f10cff659be1a2572..c47f2bd7a66311c57c20a3e225b7e6f84af31ada 100644 (file)
@@ -84,11 +84,6 @@ interface winbind
        dom_sid group_sid;
     } wbint_userinfo;
 
-    NTSTATUS wbint_QueryUser(
-       [in] dom_sid *sid,
-       [out] wbint_userinfo *info
-       );
-
     NTSTATUS wbint_GetNssInfo(
        [in,out] wbint_userinfo *info
        );
index a75e5771068916519c4bfbe031b5f07ca5d76383..a5667d11ca02248a50c12306953adfde857040c1 100644 (file)
@@ -268,21 +268,6 @@ NTSTATUS _wbint_AllocateGid(struct pipes_struct *p, struct wbint_AllocateGid *r)
        return NT_STATUS_OK;
 }
 
-NTSTATUS _wbint_QueryUser(struct pipes_struct *p, struct wbint_QueryUser *r)
-{
-       struct winbindd_domain *domain = wb_child_domain();
-       NTSTATUS status;
-
-       if (domain == NULL) {
-               return NT_STATUS_REQUEST_NOT_ACCEPTED;
-       }
-
-       status = wb_cache_query_user(domain, p->mem_ctx, r->in.sid,
-                                    r->out.info);
-       reset_cm_connection_on_error(domain, status);
-       return status;
-}
-
 NTSTATUS _wbint_GetNssInfo(struct pipes_struct *p, struct wbint_GetNssInfo *r)
 {
        struct idmap_domain *domain;