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:
parent
10ac273288
commit
a8748cab86
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user