2009-10-10 09:06:07 +11:00
/*
Unix SMB / CIFS implementation .
Samba utility functions
Copyright ( C ) Andrew Tridgell 2009
Copyright ( C ) Andrew Bartlett < abartlet @ samba . org > 2009
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation ; either version 3 of the License , or
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
along with this program . If not , see < http : //www.gnu.org/licenses/>.
*/
2010-01-08 09:28:38 +11:00
/* predeclare some structures used by utility functions */
struct dsdb_schema ;
2009-12-19 21:40:55 +11:00
struct dsdb_attribute ;
2010-01-08 09:28:38 +11:00
struct dsdb_fsmo_extended_op ;
2010-09-22 12:41:44 -07:00
struct security_descriptor ;
struct dom_sid ;
2013-11-05 20:39:56 +01:00
struct netlogon_samlogon_response ;
2009-12-19 21:40:55 +11:00
2010-12-05 20:28:44 +01:00
# include "librpc/gen_ndr/misc.h"
2009-10-10 09:06:07 +11:00
# include "dsdb/samdb/ldb_modules/util_proto.h"
2010-02-16 14:23:21 +11:00
# include "dsdb/common/util.h"
2013-11-05 20:39:56 +01:00
# include "../libcli/netlogon/netlogon.h"
2010-02-16 14:23:21 +11:00
/* extend the dsdb_request_add_controls() flags for module
specific functions */
2010-06-28 21:07:51 +03:00
# define DSDB_FLAG_NEXT_MODULE 0x00100000
2010-02-16 14:23:21 +11:00
# define DSDB_FLAG_OWN_MODULE 0x00400000
# define DSDB_FLAG_TOP_MODULE 0x00800000
2011-01-17 13:12:15 +11:00
# define DSDB_FLAG_TRUSTED 0x01000000
2017-06-14 13:12:32 +12:00
# define DSDB_FLAG_REPLICATED_UPDATE 0x02000000