diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-05-05 04:27:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:45 -0500 |
commit | 232bc1503fc0e3f85b4711f077d2566dc0f0c823 (patch) | |
tree | 14e4a2736ab44368bdb27296ddbe5fb3a05fd5fc /source4/lib/ldb/tools/ldbsearch.c | |
parent | af66c31e44bcb052f35f9b1de8e997149fddac89 (diff) | |
download | samba-232bc1503fc0e3f85b4711f077d2566dc0f0c823.tar.gz samba-232bc1503fc0e3f85b4711f077d2566dc0f0c823.tar.bz2 samba-232bc1503fc0e3f85b4711f077d2566dc0f0c823.zip |
r490: - expanded the test suite to test modify and delete operations
- made yet another attempt to make ldb const clean.
- "make test" now runs both the tdb and ldap backend tests, and run the ldbtest utility
with and without indexing
- added prototypes in ldb.h for ldb_msg_*() public functions
(This used to be commit 01e87406768cb5a98ac8530a2f361a4987a36cd3)
Diffstat (limited to 'source4/lib/ldb/tools/ldbsearch.c')
-rw-r--r-- | source4/lib/ldb/tools/ldbsearch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c index e8275e87c1..541024dd2d 100644 --- a/source4/lib/ldb/tools/ldbsearch.c +++ b/source4/lib/ldb/tools/ldbsearch.c @@ -49,7 +49,7 @@ static void do_search(struct ldb_context *ldb, const char *basedn, int scope, const char *expression, - const char * const *attrs) + char * const *attrs) { int ret, i; struct ldb_message **msgs; @@ -84,7 +84,7 @@ static void do_search(struct ldb_context *ldb, int main(int argc, char * const argv[]) { struct ldb_context *ldb; - const char * const * attrs = NULL; + char * const * attrs = NULL; const char *ldb_url; const char *basedn = NULL; int opt; |