r13637: Adding more netr_UserFlags.
[samba.git] / source / librpc / idl / misc.idl
1 #include "idl_types.h"
2
3 /*
4   miscellaneous IDL structures
5 */
6
7
8 [
9         pointer_default(unique)
10 ]
11 interface misc
12 {
13         typedef [public,noprint,gensize,noejs] struct {
14                 uint32 time_low;
15                 uint16 time_mid;
16                 uint16 time_hi_and_version;
17                 uint8  clock_seq[2];
18                 uint8  node[6];
19         } GUID;
20
21         typedef [public] struct {
22                 uint32 handle_type;
23                 GUID   uuid;
24         } policy_handle;
25
26         /* secure channel types */
27         /* Only SEC_CHAN_WKSTA can forward requests to other domains. */
28
29         typedef [public] enum {
30                 SEC_CHAN_WKSTA   = 2,
31                 SEC_CHAN_DOMAIN  = 4,
32                 SEC_CHAN_BDC     = 6
33         } netr_SchannelType;
34
35         /* SAM database types */
36         typedef [public,v1_enum] enum {
37                 SAM_DATABASE_DOMAIN  = 0, /* Domain users and groups */
38                 SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */
39                 SAM_DATABASE_PRIVS   = 2 /* Privileges */
40         } netr_SamDatabaseID;
41
42         typedef [public,v1_enum] enum {
43                 SAMR_REJECT_OTHER      = 0,
44                 SAMR_REJECT_TOO_SHORT  = 1,
45                 SAMR_REJECT_COMPLEXITY = 2
46         } samr_RejectReason;
47
48
49 }