| 1 | /*
|
|---|
| 2 | Unix SMB/CIFS implementation.
|
|---|
| 3 |
|
|---|
| 4 | Copyright (C) Stefan Metzmacher 2006
|
|---|
| 5 |
|
|---|
| 6 | This program is free software; you can redistribute it and/or modify
|
|---|
| 7 | it under the terms of the GNU General Public License as published by
|
|---|
| 8 | the Free Software Foundation; either version 3 of the License, or
|
|---|
| 9 | (at your option) any later version.
|
|---|
| 10 |
|
|---|
| 11 | This program is distributed in the hope that it will be useful,
|
|---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 14 | GNU General Public License for more details.
|
|---|
| 15 |
|
|---|
| 16 | You should have received a copy of the GNU General Public License
|
|---|
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|---|
| 18 | */
|
|---|
| 19 |
|
|---|
| 20 | #include "librpc/gen_ndr/security.h"
|
|---|
| 21 |
|
|---|
| 22 | enum security_user_level {
|
|---|
| 23 | SECURITY_ANONYMOUS,
|
|---|
| 24 | SECURITY_USER,
|
|---|
| 25 | SECURITY_DOMAIN_CONTROLLER,
|
|---|
| 26 | SECURITY_ADMINISTRATOR,
|
|---|
| 27 | SECURITY_SYSTEM
|
|---|
| 28 | };
|
|---|
| 29 |
|
|---|
| 30 | struct auth_session_info;
|
|---|
| 31 |
|
|---|
| 32 | struct object_tree {
|
|---|
| 33 | uint32_t remaining_access;
|
|---|
| 34 | struct GUID guid;
|
|---|
| 35 | /* linked list of children */
|
|---|
| 36 | struct object_tree * children;
|
|---|
| 37 | struct object_tree * prev;
|
|---|
| 38 | struct object_tree * next;
|
|---|
| 39 | };
|
|---|
| 40 |
|
|---|
| 41 | /* Moved the dom_sid functions to the top level dir with manual proto header */
|
|---|
| 42 | #include "libcli/security/dom_sid.h"
|
|---|
| 43 | #include "libcli/security/secace.h"
|
|---|
| 44 | #include "libcli/security/secacl.h"
|
|---|
| 45 | #include "libcli/security/proto.h"
|
|---|
| 46 | #include "libcli/security/security_descriptor.h"
|
|---|