Initial Implementation of the DS objects access checks.
[sfrench/samba-autobuild/.git] / source4 / libcli / security / security.h
index 2608c9f7ed2c927b9bc09eab4146b34f82539134..18f6c820d1c66abf5c377f8dd60567fd730bb422 100644 (file)
 enum security_user_level {
        SECURITY_ANONYMOUS,
        SECURITY_USER,
+       SECURITY_DOMAIN_CONTROLLER,
        SECURITY_ADMINISTRATOR,
        SECURITY_SYSTEM
 };
 
 struct auth_session_info;
 
+struct object_tree {
+       uint32_t remaining_access;
+       struct GUID guid;
+       /* linked list of children */
+       struct object_tree * children;
+       struct object_tree * prev;
+       struct object_tree * next;
+};
+
 /* Moved the dom_sid functions to the top level dir with manual proto header */
 #include "libcli/security/dom_sid.h"
 #include "libcli/security/secace.h"
 #include "libcli/security/secacl.h"
 #include "libcli/security/proto.h"
+#include "libcli/security/security_descriptor.h"