git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10ac273
)
r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
author
Andrew Tridgell
<tridge@samba.org>
Sun, 28 Aug 2005 02:38:00 +0000
(
02:38
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:34:52 +0000
(13:34 -0500)
a NULL expression is valid in a ldb search
source/scripting/ejs/smbcalls_ldb.c
patch
|
blob
|
history
diff --git
a/source/scripting/ejs/smbcalls_ldb.c
b/source/scripting/ejs/smbcalls_ldb.c
index 899cba546026fda654eb49eb3c46bb66057d7116..aaed14dd8cd408235e9aae1499ebecaa76129eb7 100644
(file)
--- a/
source/scripting/ejs/smbcalls_ldb.c
+++ b/
source/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 */