mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
b30f0b0391
Andrew Bartlett (This used to be commit 5e29e1c68c1b1a957419320cef55395ba0fe6b6f)
44 lines
821 B
Plaintext
44 lines
821 B
Plaintext
#include "idl_types.h"
|
|
|
|
/*
|
|
miscellaneous IDL structures
|
|
*/
|
|
|
|
|
|
[
|
|
pointer_default(unique)
|
|
]
|
|
interface misc
|
|
{
|
|
typedef [public,noprint,gensize,noejs] struct {
|
|
uint32 time_low;
|
|
uint16 time_mid;
|
|
uint16 time_hi_and_version;
|
|
uint8 clock_seq[2];
|
|
uint8 node[6];
|
|
} GUID;
|
|
|
|
typedef [public] struct {
|
|
uint32 handle_type;
|
|
GUID uuid;
|
|
} policy_handle;
|
|
|
|
/* secure channel types */
|
|
/* Only SEC_CHAN_WKSTA can forward requests to other domains. */
|
|
|
|
typedef [public] enum {
|
|
SEC_CHAN_WKSTA = 2,
|
|
SEC_CHAN_DOMAIN = 4,
|
|
SEC_CHAN_BDC = 6
|
|
} netr_SchannelType;
|
|
|
|
/* SAM database types */
|
|
typedef [public,v1_enum] enum {
|
|
SAM_DATABASE_DOMAIN = 0, /* Domain users and groups */
|
|
SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */
|
|
SAM_DATABASE_PRIVS = 2 /* Privileges */
|
|
} netr_SamDatabaseID;
|
|
|
|
|
|
}
|