diff options
author | Günther Deschner <gd@samba.org> | 2009-10-13 15:39:27 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-10-16 10:50:27 +0200 |
commit | 8bd4378ff8ddc81710575a21ca7713195a105b52 (patch) | |
tree | 8c5962ff251244b8fac8d694b688677976870bf3 /source3/librpc/idl | |
parent | 7bcc0b29662663be75828f2618a5013e7c2c2817 (diff) | |
download | samba-8bd4378ff8ddc81710575a21ca7713195a105b52.tar.gz samba-8bd4378ff8ddc81710575a21ca7713195a105b52.tar.bz2 samba-8bd4378ff8ddc81710575a21ca7713195a105b52.zip |
s3-libnetapi: add I_NetLogonControl{2} to IDL.
Guenther
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r-- | source3/librpc/idl/libnetapi.idl | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl index 54e1bff8ab..593ee1c560 100644 --- a/source3/librpc/idl/libnetapi.idl +++ b/source3/librpc/idl/libnetapi.idl @@ -1870,4 +1870,53 @@ interface libnetapi [in] string server_name ); + /*******************************************/ + /* I_NetLogonControl */ + /*******************************************/ + + typedef struct { + uint32 netlog1_flags; + NET_API_STATUS netlog1_pdc_connection_status; + } NETLOGON_INFO_1; + + typedef struct { + uint32 netlog2_flags; + NET_API_STATUS netlog2_pdc_connection_status; + string netlog2_trusted_dc_name; + NET_API_STATUS netlog2_tc_connection_status; + } NETLOGON_INFO_2; + + typedef struct { + uint32 netlog1_flags; + uint32 netlog3_logon_attempts; + uint32 netlog3_reserved1; + uint32 netlog3_reserved2; + uint32 netlog3_reserved3; + uint32 netlog3_reserved4; + uint32 netlog3_reserved5; + } NETLOGON_INFO_3; + + typedef struct { + string netlog4_trusted_dc_name; + string netlog4_trusted_domain_name; + } NETLOGON_INFO_4; + + [nopush,nopull] NET_API_STATUS I_NetLogonControl( + [in] string server_name, + [in] uint32 function_code, + [in] uint32 query_level, + [out,ref] uint8 **buffer + ); + + /*******************************************/ + /* I_NetLogonControl2 */ + /*******************************************/ + + [nopush,nopull] NET_API_STATUS I_NetLogonControl2( + [in] string server_name, + [in] uint32 function_code, + [in] uint32 query_level, + [in] uint8 *data, + [out,ref] uint8 **buffer + ); } |