diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 02:08:24 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-15 02:08:24 +0200 |
commit | f75b46081457cd3801d93c91cce51f3d10976234 (patch) | |
tree | e155a3a889c43980bbb9688a23bd718039a9efd0 /librpc/idl | |
parent | 358e9931bc55e8c645b60da821e88cea4b4a8801 (diff) | |
download | samba-f75b46081457cd3801d93c91cce51f3d10976234.tar.gz samba-f75b46081457cd3801d93c91cce51f3d10976234.tar.bz2 samba-f75b46081457cd3801d93c91cce51f3d10976234.zip |
Share misc.idl.
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/misc.idl | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/librpc/idl/misc.idl b/librpc/idl/misc.idl new file mode 100644 index 0000000000..ff548fe804 --- /dev/null +++ b/librpc/idl/misc.idl @@ -0,0 +1,54 @@ +/* + 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 { + GUID uuid; + uint32 if_version; + } ndr_syntax_id; + + 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_NULL = 0, + SEC_CHAN_WKSTA = 2, + SEC_CHAN_DNS_DOMAIN = 3, + 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; + + typedef [public,v1_enum] enum { + SAMR_REJECT_OTHER = 0, + SAMR_REJECT_TOO_SHORT = 1, + SAMR_REJECT_IN_HISTORY = 2, + SAMR_REJECT_COMPLEXITY = 5 + } samr_RejectReason; + +} |