dsdb-acl: attr is not optional to acl_check_access_on_attribute()
[Samba/gebeck_regimport.git] / source4 / dsdb / samdb / ldb_modules / util.h
blobc21304213a89449fb460c2cb4566947aa81c8d72
1 /*
2 Unix SMB/CIFS implementation.
3 Samba utility functions
5 Copyright (C) Andrew Tridgell 2009
6 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2009
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 /* predeclare some structures used by utility functions */
23 struct dsdb_schema;
24 struct dsdb_attribute;
25 struct dsdb_fsmo_extended_op;
26 struct security_descriptor;
27 struct dom_sid;
29 #include "librpc/gen_ndr/misc.h"
30 #include "dsdb/samdb/ldb_modules/util_proto.h"
31 #include "dsdb/common/util.h"
33 /* extend the dsdb_request_add_controls() flags for module
34 specific functions */
35 #define DSDB_FLAG_NEXT_MODULE 0x00100000
36 #define DSDB_FLAG_OWN_MODULE 0x00400000
37 #define DSDB_FLAG_TOP_MODULE 0x00800000
38 #define DSDB_FLAG_TRUSTED 0x01000000