summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_idmap.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-02-14 13:24:54 +0100
committerStefan Metzmacher <metze@samba.org>2018-02-27 16:00:14 +0100
commitf613d22ad52e74e1662e6a8240dc66cebe71a228 (patch)
tree3fffacefb4d10385121ff7f5257f8bf1b65caf56 /source3/winbindd/winbindd_idmap.c
parent52de1322cd5822f4219321570fbf2eb043bdc5fd (diff)
downloadsamba-f613d22ad52e74e1662e6a8240dc66cebe71a228.tar.gz
winbind: add idmap_child_handle() and use it instead of child->binding_handle
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13292 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit c2d78a0a0a3f9b9ade61cf707f23e59a1a16c61b)
Diffstat (limited to 'source3/winbindd/winbindd_idmap.c')
-rw-r--r--source3/winbindd/winbindd_idmap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_idmap.c b/source3/winbindd/winbindd_idmap.c
index 028026087d6..2ee436bc7dc 100644
--- a/source3/winbindd/winbindd_idmap.c
+++ b/source3/winbindd/winbindd_idmap.c
@@ -34,6 +34,11 @@ struct winbindd_child *idmap_child(void)
return &static_idmap_child;
}
+struct dcerpc_binding_handle *idmap_child_handle(void)
+{
+ return static_idmap_child.binding_handle;
+}
+
static const struct winbindd_child_dispatch_table idmap_dispatch_table[] = {
{
.name = "PING",