diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-13 20:58:38 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-13 11:00:04 +0000 |
commit | 269143fa0031ef0b6d801b47aab48ff3b1414565 (patch) | |
tree | e83088e77860bd0e7dc513aaa2792a42008c9885 /source4/lib/ldb/include | |
parent | 549c044b9fe76e7d5a47a08fe73a99c87a41ddf4 (diff) | |
download | samba-269143fa0031ef0b6d801b47aab48ff3b1414565.tar.gz samba-269143fa0031ef0b6d801b47aab48ff3b1414565.tar.bz2 samba-269143fa0031ef0b6d801b47aab48ff3b1414565.zip |
s4-ldb: take advantage of ldb_match_msg_error() in more places
this gives better error checking
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb_module.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_module.h b/source4/lib/ldb/include/ldb_module.h index 18982b975f..a708063ed8 100644 --- a/source4/lib/ldb/include/ldb_module.h +++ b/source4/lib/ldb/include/ldb_module.h @@ -135,6 +135,13 @@ int ldb_match_msg(struct ldb_context *ldb, struct ldb_dn *base, enum ldb_scope scope); +int ldb_match_msg_error(struct ldb_context *ldb, + const struct ldb_message *msg, + const struct ldb_parse_tree *tree, + struct ldb_dn *base, + enum ldb_scope scope, + bool *matched); + int ldb_match_msg_objectclass(const struct ldb_message *msg, const char *objectclass); |