summaryrefslogtreecommitdiffstats
path: root/source4/winbind/wb_async_helpers.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-03 17:36:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:19 -0500
commit012893cb421d77efc538c9f4c78b2421aef3f06e (patch)
treebcc108dc0ffb1295908ffa17ec577d66c36a6413 /source4/winbind/wb_async_helpers.h
parent4a34e81ccc609366089d9a3f6c3a04c228cac8b3 (diff)
downloadsamba-012893cb421d77efc538c9f4c78b2421aef3f06e.tar.gz
samba-012893cb421d77efc538c9f4c78b2421aef3f06e.tar.xz
samba-012893cb421d77efc538c9f4c78b2421aef3f06e.zip
r10691: This gets half-way to wbinfo -n. It acquires an lsa pipe, and does a
queryinfopolicy. Idea is to get a consistency check between that and our notion of the domain name and sid, and take the lsa pipe as the holder of the central smbcli_tree that netlogon and samr use as well. Volker (This used to be commit 126c80aefc4f53c4ba79afc12d70602ef9055ddb)
Diffstat (limited to 'source4/winbind/wb_async_helpers.h')
-rw-r--r--source4/winbind/wb_async_helpers.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/winbind/wb_async_helpers.h b/source4/winbind/wb_async_helpers.h
index b37a66e972d..e3de3125901 100644
--- a/source4/winbind/wb_async_helpers.h
+++ b/source4/winbind/wb_async_helpers.h
@@ -44,3 +44,15 @@ struct wb_get_schannel_creds {
struct dcerpc_pipe *netlogon;
} out;
};
+
+struct wb_get_lsa_pipe {
+ struct {
+ struct event_context *event_ctx;
+ struct messaging_context *msg_ctx;
+ const char *domain;
+ } in;
+ struct {
+ const struct dom_sid *domain_sid;
+ struct dcerpc_pipe *pipe;
+ } out;
+};