diff options
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/common/util.c | 1 | ||||
-rw-r--r-- | source4/dsdb/common/util_samr.c | 2 | ||||
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 1 | ||||
-rw-r--r-- | source4/dsdb/wscript_build | 4 |
4 files changed, 6 insertions, 2 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 148a77d153..e711a324f8 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -43,6 +43,7 @@ #include "dsdb/common/util.h" #include "lib/socket/socket.h" #include "librpc/gen_ndr/irpc.h" +#include "libds/common/flag_mapping.h" /* search the sam for the specified attributes in a specific domain, filter on diff --git a/source4/dsdb/common/util_samr.c b/source4/dsdb/common/util_samr.c index 621c9be35e..02b412e433 100644 --- a/source4/dsdb/common/util_samr.c +++ b/source4/dsdb/common/util_samr.c @@ -28,6 +28,8 @@ #include "../libds/common/flags.h" #include "libcli/security/security.h" +#include "libds/common/flag_mapping.h" + /* Add a user, SAMR style, including the correct transaction * semantics. Used by the SAMR server and by pdb_samba4 */ NTSTATUS dsdb_add_user(struct ldb_context *ldb, diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 710ce8bf3a..b11fc554b5 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -39,6 +39,7 @@ #include "librpc/gen_ndr/ndr_security.h" #include "ldb_wrap.h" #include "param/param.h" +#include "libds/common/flag_mapping.h" struct samldb_ctx; diff --git a/source4/dsdb/wscript_build b/source4/dsdb/wscript_build index f595f3c26f..364edf14b2 100644 --- a/source4/dsdb/wscript_build +++ b/source4/dsdb/wscript_build @@ -13,10 +13,10 @@ bld.SAMBA_LIBRARY('samdb', bld.SAMBA_LIBRARY('samdb-common', - source='common/util.c common/util_groups.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c ../../libds/common/flag_mapping.c', + source='common/util.c common/util_groups.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c', autoproto='common/proto.h', private_library=True, - deps='ldb NDR_DRSBLOBS UTIL_LDB LIBCLI_AUTH samba-hostconfig samba_socket LIBCLI_LDAP_NDR' + deps='ldb NDR_DRSBLOBS UTIL_LDB LIBCLI_AUTH samba-hostconfig samba_socket LIBCLI_LDAP_NDR flag_mapping' ) |