summaryrefslogtreecommitdiff
path: root/source3/librpc/idl/misc.idl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-06 18:04:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:43:30 -0500
commit48450d97a56b43febb3853aba8caea4dd2cdffe1 (patch)
tree2b5efb433791b7350aa35179483345288314d674 /source3/librpc/idl/misc.idl
parent1a6ffd139176f7b19ed0a7acfb13354adae03062 (diff)
downloadsamba-48450d97a56b43febb3853aba8caea4dd2cdffe1.tar.gz
samba-48450d97a56b43febb3853aba8caea4dd2cdffe1.tar.bz2
samba-48450d97a56b43febb3853aba8caea4dd2cdffe1.zip
r18185: add librpc/idl and relevant IDL files from SAMBA_4_0
(This used to be commit 6da1ef0f1cf4d47c26cdb850f01a3411dfd87350)
Diffstat (limited to 'source3/librpc/idl/misc.idl')
-rw-r--r--source3/librpc/idl/misc.idl47
1 files changed, 47 insertions, 0 deletions
diff --git a/source3/librpc/idl/misc.idl b/source3/librpc/idl/misc.idl
new file mode 100644
index 0000000000..353457dd02
--- /dev/null
+++ b/source3/librpc/idl/misc.idl
@@ -0,0 +1,47 @@
+/*
+ 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;
+
+ typedef [public,v1_enum] enum {
+ SAMR_REJECT_OTHER = 0,
+ SAMR_REJECT_TOO_SHORT = 1,
+ SAMR_REJECT_COMPLEXITY = 2
+ } samr_RejectReason;
+
+
+}