mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
librpc/idl: Add named_pipe_auth.idl to Samba4
metze
This commit is contained in:
parent
32695912dd
commit
1a60fc02d8
44
librpc/idl/named_pipe_auth.idl
Normal file
44
librpc/idl/named_pipe_auth.idl
Normal file
@ -0,0 +1,44 @@
|
||||
#include "idl_types.h"
|
||||
/*
|
||||
miscellaneous IDL structures
|
||||
*/
|
||||
|
||||
import "netlogon.idl";
|
||||
|
||||
[
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface named_pipe_auth
|
||||
{
|
||||
const char *NAMED_PIPE_AUTH_MAGIC = "NPAM";
|
||||
|
||||
typedef [switch_type(uint32)] union {
|
||||
[case(0)] ;/* anonymous */
|
||||
[case(1)] netr_SamInfo3 info1;
|
||||
} named_pipe_auth_req_info;
|
||||
|
||||
typedef [public,gensize] struct {
|
||||
[flag(NDR_BIG_ENDIAN),
|
||||
value(ndr_size_named_pipe_auth_req(r,ndr->flags)-4)]
|
||||
uint32 length;
|
||||
[charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
|
||||
uint32 level;
|
||||
[switch_is(level)] named_pipe_auth_req_info info;
|
||||
} named_pipe_auth_req;
|
||||
|
||||
typedef [switch_type(uint32)] union {
|
||||
[case(0)] ;
|
||||
[case(1)] ;
|
||||
} named_pipe_auth_rep_info;
|
||||
|
||||
typedef [public,gensize] struct {
|
||||
[flag(NDR_BIG_ENDIAN),
|
||||
value(ndr_size_named_pipe_auth_rep(r,ndr->flags)-4)]
|
||||
uint32 length;
|
||||
[charset(DOS),value(NAMED_PIPE_AUTH_MAGIC)] uint8 magic[4];
|
||||
uint32 level;
|
||||
[switch_is(level)] named_pipe_auth_rep_info info;
|
||||
NTSTATUS status;
|
||||
} named_pipe_auth_rep;
|
||||
}
|
||||
|
@ -60,6 +60,11 @@ PUBLIC_DEPENDENCIES = LIBNDR
|
||||
|
||||
NDR_AUDIOSRV_OBJ_FILES = $(gen_ndrsrcdir)/ndr_audiosrv.o
|
||||
|
||||
[SUBSYSTEM::NDR_NAMED_PIPE_AUTH]
|
||||
PUBLIC_DEPENDENCIES = LIBNDR
|
||||
|
||||
NDR_NAMED_PIPE_AUTH_OBJ_FILES = $(gen_ndrsrcdir)/ndr_named_pipe_auth.o
|
||||
|
||||
[SUBSYSTEM::NDR_DNSSERVER]
|
||||
PUBLIC_DEPENDENCIES = LIBNDR
|
||||
|
||||
@ -386,7 +391,7 @@ PUBLIC_DEPENDENCIES = \
|
||||
NDR_ROT NDR_DRSBLOBS NDR_SVCCTL NDR_NBT NDR_WINSREPL NDR_SECURITY \
|
||||
NDR_INITSHUTDOWN NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_OPENDB \
|
||||
NDR_SASL_HELPERS NDR_NOTIFY NDR_WINBIND NDR_FRSRPC NDR_FRSAPI NDR_NFS4ACL NDR_NTP_SIGND \
|
||||
NDR_DCOM NDR_WMI
|
||||
NDR_DCOM NDR_WMI NDR_NAMED_PIPE_AUTH
|
||||
|
||||
NDR_TABLE_OBJ_FILES = ../librpc/ndr/ndr_table.o $(gen_ndrsrcdir)/tables.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user