svn commit: samba r9706 - in branches/SAMBA_4_0: . source/scripting/ejs

tridge at samba.org tridge at samba.org
Sun Aug 28 02:38:01 GMT 2005


Author: tridge
Date: 2005-08-28 02:38:00 +0000 (Sun, 28 Aug 2005)
New Revision: 9706

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9706

Log:
 r11042 at blu:  tridge | 2005-08-28 12:40:09 +1000
 a NULL expression is valid in a ldb search

Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: svk:merge
   - a953eb74-4aff-0310-a63c-855d20285ebb:/local/samba4:9685
   + a953eb74-4aff-0310-a63c-855d20285ebb:/local/samba4:11042

Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c	2005-08-28 02:37:49 UTC (rev 9705)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c	2005-08-28 02:38:00 UTC (rev 9706)
@@ -75,10 +75,6 @@
 	}
 	
 	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 */



More information about the samba-cvs mailing list