idmap: Remove dom_name from wbint_Gid2Sid
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_gid2sid.c

index 71f3aa681ac48be646a4ed397ac78c2723c28d2e..07deb80acabf13f20f2b309d8cbf3329f537362a 100644 (file)
@@ -62,7 +62,6 @@ interface winbind
        );
 
     NTSTATUS wbint_Gid2Sid(
-       [in,unique,string,charset(UTF8)] char *dom_name,
        [in] hyper gid,
        [out] dom_sid *sid
        );
index d78421286664ff8c40ccb113d9d2b92ca4895026..323437b69c34800ac9356b80779294bb097ce024 100644 (file)
@@ -78,7 +78,7 @@ struct tevent_req *wb_gid2sid_send(TALLOC_CTX *mem_ctx,
        child = idmap_child();
 
        subreq = dcerpc_wbint_Gid2Sid_send(
-               state, ev, child->binding_handle, state->dom_name,
+               state, ev, child->binding_handle,
                gid, &state->sid);
        if (tevent_req_nomem(subreq, req)) {
                return tevent_req_post(req, ev);