source: branches/samba-3.3.x/source/librpc/idl/misc.idl

Last change on this file was 206, checked in by Herwig Bauernfeind, 16 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

File size: 1.1 KB
Line 
1/*
2 miscellaneous IDL structures
3*/
4
5cpp_quote("#define netr_SamDatabaseID8Bit netr_SamDatabaseID")
6
7[
8 pointer_default(unique)
9]
10interface misc
11{
12 typedef enum netr_SamDatabaseID8Bit netr_SamDatabaseID8Bit;
13
14 typedef [public,noprint,gensize,noejs] struct {
15 uint32 time_low;
16 uint16 time_mid;
17 uint16 time_hi_and_version;
18 uint8 clock_seq[2];
19 uint8 node[6];
20 } GUID;
21
22 typedef [public] struct {
23 GUID uuid;
24 uint32 if_version;
25 } ndr_syntax_id;
26
27 typedef [public] struct {
28 uint32 handle_type;
29 GUID uuid;
30 } policy_handle;
31
32 /* secure channel types */
33 /* Only SEC_CHAN_WKSTA can forward requests to other domains. */
34
35 typedef [public] enum {
36 SEC_CHAN_WKSTA = 2,
37 SEC_CHAN_DOMAIN = 4,
38 SEC_CHAN_BDC = 6
39 } netr_SchannelType;
40
41 /* SAM database types */
42 typedef [public,v1_enum] enum {
43 SAM_DATABASE_DOMAIN = 0, /* Domain users and groups */
44 SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */
45 SAM_DATABASE_PRIVS = 2 /* Privileges */
46 } netr_SamDatabaseID;
47
48 typedef [public,v1_enum] enum {
49 SAMR_REJECT_OTHER = 0,
50 SAMR_REJECT_TOO_SHORT = 1,
51 SAMR_REJECT_IN_HISTORY = 2,
52 SAMR_REJECT_COMPLEXITY = 5
53 } samr_RejectReason;
54}
Note: See TracBrowser for help on using the repository browser.