1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00
samba-mirror/source4/winbind/wb_async_helpers.h
Volker Lendecke 012893cb42 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)
2007-10-10 13:39:19 -05:00

59 lines
1.4 KiB
C

/*
Unix SMB/CIFS implementation.
SMB composite request interfaces
Copyright (C) Volker Lendecke 2005
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
struct wb_finddcs {
struct {
struct messaging_context *msg_ctx;
const char *domain;
} in;
struct {
int num_dcs;
struct nbt_dc_name {
const char *address;
const char *name;
} *dcs;
} out;
};
struct wb_get_schannel_creds {
struct {
struct cli_credentials *creds;
struct smbcli_tree *tree;
} in;
struct {
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;
};