summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_rpc.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-02-23 16:16:39 +0100
committerJeremy Allison <jra@samba.org>2021-04-06 22:29:34 +0000
commit02eef74e609e685177accbc494ed8b8d3e5b6abd (patch)
tree913fd8d52553f33d1a5feb7c35d015159cbff948 /source3/winbindd/winbindd_rpc.h
parentbf1012ee7063f03503eb2e348757b1b12d5bff0b (diff)
downloadsamba-02eef74e609e685177accbc494ed8b8d3e5b6abd.tar.gz
winbindd: Remove unused code
Those calls were only used in winbindd_samr which now does direct and simpler samr calls. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_rpc.h')
-rw-r--r--source3/winbindd/winbindd_rpc.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/winbindd/winbindd_rpc.h b/source3/winbindd/winbindd_rpc.h
index a5cfe77f289..c7e3dd6ff2d 100644
--- a/source3/winbindd/winbindd_rpc.h
+++ b/source3/winbindd/winbindd_rpc.h
@@ -46,39 +46,6 @@ NTSTATUS rpc_enum_local_groups(TALLOC_CTX *mem_ctx,
uint32_t *pnum_info,
struct wb_acct_info **pinfo);
-/* Convert a single name to a sid in a domain */
-NTSTATUS rpc_name_to_sid(TALLOC_CTX *mem_ctx,
- struct rpc_pipe_client *lsa_pipe,
- struct policy_handle *lsa_policy,
- const char *domain_name,
- const char *name,
- uint32_t flags,
- const char **pdom_name,
- struct dom_sid *psid,
- enum lsa_SidType *ptype);
-
-/* Convert a domain SID to a user or group name */
-NTSTATUS rpc_sid_to_name(TALLOC_CTX *mem_ctx,
- struct rpc_pipe_client *lsa_pipe,
- struct policy_handle *lsa_policy,
- struct winbindd_domain *domain,
- const struct dom_sid *sid,
- char **pdomain_name,
- char **pname,
- enum lsa_SidType *ptype);
-
-/* Convert a bunch of rids to user or group names */
-NTSTATUS rpc_rids_to_names(TALLOC_CTX *mem_ctx,
- struct rpc_pipe_client *lsa_pipe,
- struct policy_handle *lsa_policy,
- struct winbindd_domain *domain,
- const struct dom_sid *sid,
- uint32_t *rids,
- size_t num_rids,
- char **pdomain_name,
- char ***pnames,
- enum lsa_SidType **ptypes);
-
/* Lookup groups a user is a member of. */
NTSTATUS rpc_lookup_usergroups(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,