summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-08-19 13:44:02 +0200
committerStefan Metzmacher <metze@samba.org>2015-08-31 10:18:16 +0200
commit617687d0ad075c370999d54e032dbd7adee6537b (patch)
tree735a7a982b12a2f55011dc50e732d56e6e42b5c7
parent7f4b57ebf910d5fc48964e3328d06eaf374750b4 (diff)
downloadsamba-617687d0ad075c370999d54e032dbd7adee6537b.tar.gz
idmap: Remove dom_name from wbint_Uid2Sid
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 (cherry picked from commit d4730474da30c707339e21746c27eed5871cfdfe)
-rw-r--r--librpc/idl/winbind.idl1
-rw-r--r--source3/winbindd/wb_uid2sid.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/librpc/idl/winbind.idl b/librpc/idl/winbind.idl
index 5b6195022a6..71f3aa681ac 100644
--- a/librpc/idl/winbind.idl
+++ b/librpc/idl/winbind.idl
@@ -57,7 +57,6 @@ interface winbind
);
NTSTATUS wbint_Uid2Sid(
- [in,unique,string,charset(UTF8)] char *dom_name,
[in] hyper uid,
[out] dom_sid *sid
);
diff --git a/source3/winbindd/wb_uid2sid.c b/source3/winbindd/wb_uid2sid.c
index f4138f6a135..315cc4a7658 100644
--- a/source3/winbindd/wb_uid2sid.c
+++ b/source3/winbindd/wb_uid2sid.c
@@ -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);