1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000

a NULL expression is valid in a ldb search
This commit is contained in:
Andrew Tridgell 2005-08-28 02:38:00 +00:00 committed by Gerald (Jerry) Carter
parent 10ac273288
commit a8748cab86

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