diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 17:02:10 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 23:39:47 +0200 |
commit | 33c4b85058f21ab9865bc7cf1b49b7bd38e0275d (patch) | |
tree | 2abf2c439f8156893ebb87620b2c14f8c6b88082 /source4/dsdb/samdb/ldb_modules | |
parent | 8f6ca4859c4d377974fa61a3de10d6304b562986 (diff) | |
download | samba-33c4b85058f21ab9865bc7cf1b49b7bd38e0275d.tar.gz samba-33c4b85058f21ab9865bc7cf1b49b7bd38e0275d.tar.bz2 samba-33c4b85058f21ab9865bc7cf1b49b7bd38e0275d.zip |
dsdb: Move attr_in_list to SAMDB_COMMON to avoid circular dependency between SAMDB_COMMON and DSDB_MODULE_HELPERS.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/util.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c index 74825a5a4b..569c967e95 100644 --- a/source4/dsdb/samdb/ldb_modules/util.c +++ b/source4/dsdb/samdb/ldb_modules/util.c @@ -954,18 +954,6 @@ int dsdb_recyclebin_enabled(struct ldb_module *module, bool *enabled) return LDB_SUCCESS; } -bool is_attr_in_list(const char * const * attrs, const char *attr) -{ - unsigned int i; - - for (i = 0; attrs[i]; i++) { - if (ldb_attr_cmp(attrs[i], attr) == 0) - return true; - } - - return false; -} - int dsdb_msg_constrainted_update_int32(struct ldb_module *module, struct ldb_message *msg, const char *attr, |