summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ldap
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-03 14:51:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:43 -0500
commit208e09747c242ab5bd59a658033db49efa8d8696 (patch)
tree46fd31e75aa1e805f3abb9fa572f36da2b70b3da /source4/lib/ldb/ldb_ldap
parentb96695ca23f8d1d95ed2e038ea66e6a0580356c3 (diff)
downloadsamba-208e09747c242ab5bd59a658033db49efa8d8696.tar.gz
samba-208e09747c242ab5bd59a658033db49efa8d8696.tar.bz2
samba-208e09747c242ab5bd59a658033db49efa8d8696.zip
r456: - added -i option to ldbsearch
- fixed sorting bug in ldb index handing (This used to be commit cdd48e2b9b3ca6be5503eec401e09db162408ac8)
Diffstat (limited to 'source4/lib/ldb/ldb_ldap')
-rw-r--r--source4/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
index 8723beeadc..26c29122ad 100644
--- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
@@ -207,7 +207,7 @@ static int lldb_add_msg_attr(struct ldb_message *msg,
*/
static int lldb_search(struct ldb_context *ldb, const char *base,
enum ldb_scope scope, const char *expression,
- char * const *attrs, struct ldb_message ***res)
+ const char * const *attrs, struct ldb_message ***res)
{
struct lldb_private *lldb = ldb->private_data;
int count, msg_count;