1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

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 a8748cab86)
This commit is contained in:
Andrew Tridgell
2005-08-28 02:38:00 +00:00
committed by Gerald (Jerry) Carter
parent 1ef362c89d
commit 8da7ab52eb

View File

@ -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 */