idmap: Remove dom_name from wbint_Uid2Sid
authorVolker Lendecke <vl@samba.org>
Wed, 19 Aug 2015 11:44:02 +0000 (13:44 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 24 Aug 2015 14:16:12 +0000 (16:16 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11464

librpc/idl/winbind.idl
source3/winbindd/wb_uid2sid.c

index 5b6195022a6940c4ec64401e4fa0f3109e556e53..71f3aa681ac48be646a4ed397ac78c2723c28d2e 100644 (file)
@@ -57,7 +57,6 @@ interface winbind
        );
 
     NTSTATUS wbint_Uid2Sid(
-       [in,unique,string,charset(UTF8)] char *dom_name,
        [in] hyper uid,
        [out] dom_sid *sid
        );
index f4138f6a13537387155e349333a5cd140bf71ac0..315cc4a7658ba48e142df84b6ed0d05047f4be5f 100644 (file)
@@ -78,7 +78,7 @@ struct tevent_req *wb_uid2sid_send(TALLOC_CTX *mem_ctx,
        child = idmap_child();
 
        subreq = dcerpc_wbint_Uid2Sid_send(
-               state, ev, child->binding_handle, state->dom_name,
+               state, ev, child->binding_handle,
                uid, &state->sid);
        if (tevent_req_nomem(subreq, req)) {
                return tevent_req_post(req, ev);