summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-28 02:38:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:52 -0500
commit8da7ab52ebcb6fb20aa87a19f5065d931cac853c (patch)
tree21b5a5bad2c632d2a6865f4083bec9875ff3e531 /source4/scripting
parent1ef362c89d98777651c8789af4b74a0a6fb9fcdc (diff)
downloadsamba-8da7ab52ebcb6fb20aa87a19f5065d931cac853c.tar.gz
samba-8da7ab52ebcb6fb20aa87a19f5065d931cac853c.tar.bz2
samba-8da7ab52ebcb6fb20aa87a19f5065d931cac853c.zip
r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
a NULL expression is valid in a ldb search (This used to be commit a8748cab865c765f844336087a386c01e60add62)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/ejs/smbcalls_ldb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/scripting/ejs/smbcalls_ldb.c b/source4/scripting/ejs/smbcalls_ldb.c
index 899cba5460..aaed14dd8c 100644
--- a/source4/scripting/ejs/smbcalls_ldb.c
+++ b/source4/scripting/ejs/smbcalls_ldb.c
@@ -75,10 +75,6 @@ static int ejs_ldbSearch(MprVarHandle eid, int argc, struct MprVar **argv)
}
expression = mprToString(argv[0]);
- if (expression == NULL) {
- ejsSetErrorMsg(eid, "ldb.search invalid expression");
- goto failed;
- }
if (argc > 1) {
base = mprToString(argv[1]);
/* a null basedn is valid */