summaryrefslogtreecommitdiffstats
path: root/source/lib/ldb/ldb_ildap
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-19 10:37:45 +0000
committerAndrew Tridgell <tridge@samba.org>2005-06-19 10:37:45 +0000
commit3554974df47990a1ffad54546eb5cf7096200d54 (patch)
tree39e1605db081870a50104cc09081776904658785 /source/lib/ldb/ldb_ildap
parent73e26496c4a315227128924570ed446d59437d28 (diff)
downloadsamba-3554974df47990a1ffad54546eb5cf7096200d54.tar.gz
samba-3554974df47990a1ffad54546eb5cf7096200d54.tar.xz
samba-3554974df47990a1ffad54546eb5cf7096200d54.zip
r7749: some bug fixes from testing with socket:testnonblock
- fixed some infinite loops in asn1.c - ensure asn1 callers know if an error is end of buffer or bad data - handle npending 0 in ldap server
Diffstat (limited to 'source/lib/ldb/ldb_ildap')
-rw-r--r--source/lib/ldb/ldb_ildap/ldb_ildap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/ldb/ldb_ildap/ldb_ildap.c b/source/lib/ldb/ldb_ildap/ldb_ildap.c
index 6560485be55..eefe80c919b 100644
--- a/source/lib/ldb/ldb_ildap/ldb_ildap.c
+++ b/source/lib/ldb/ldb_ildap/ldb_ildap.c
@@ -124,6 +124,8 @@ static int ildb_search(struct ldb_module *module, const char *base,
if (ildb->rootDSE != NULL) {
base = ldb_msg_find_string(ildb->rootDSE,
"defaultNamingContext", "");
+ } else {
+ base = "";
}
}