Share misc.idl.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 15 Oct 2008 00:08:24 +0000 (02:08 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 15 Oct 2008 00:08:24 +0000 (02:08 +0200)
librpc/idl/misc.idl [moved from source3/librpc/idl/misc.idl with 100% similarity]
source3/Makefile.in
source4/librpc/idl/misc.idl [deleted file]
source4/librpc/idl/security.idl

index e99756752d0ca6fbfed059b70ee0ec5eec11d781..0329b9eb48c092efec7c94972f93cb815859c947 100644 (file)
@@ -1204,7 +1204,7 @@ samba3-idl::
                librpc/idl/initshutdown.idl librpc/idl/srvsvc.idl librpc/idl/svcctl.idl \
                librpc/idl/eventlog.idl librpc/idl/wkssvc.idl librpc/idl/netlogon.idl \
                ../librpc/idl/notify.idl librpc/idl/epmapper.idl librpc/idl/messaging.idl \
-               librpc/idl/xattr.idl librpc/idl/misc.idl librpc/idl/samr.idl \
+               librpc/idl/xattr.idl ../librpc/idl/misc.idl librpc/idl/samr.idl \
                librpc/idl/security.idl ../librpc/idl/dssetup.idl librpc/idl/krb5pac.idl \
                librpc/idl/ntsvcs.idl librpc/idl/libnetapi.idl librpc/idl/drsuapi.idl \
                librpc/idl/drsblobs.idl librpc/idl/nbt.idl
diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl
deleted file mode 100644 (file)
index 791b864..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
-  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;
-
-       /* id used to identify a endpoint, possibly in a cluster */
-       typedef [public] struct {
-               hyper id;
-               uint32 id2;
-               uint32 node;
-       } server_id;
-}
index ac7641c0afcbe18d83e9a7a15631cf66335a263e..40aa698176684266168715c955c909b1c2102e0b 100644 (file)
@@ -252,6 +252,13 @@ interface security
                uint32 sub_auths[num_auths];
        } dom_sid;
 
+       /* id used to identify a endpoint, possibly in a cluster */
+       typedef [public] struct {
+               hyper id;
+               uint32 id2;
+               uint32 node;
+       } server_id;
+
        typedef [bitmap8bit] bitmap {
                SEC_ACE_FLAG_OBJECT_INHERIT             = 0x01,
                SEC_ACE_FLAG_CONTAINER_INHERIT          = 0x02,