rem: dump("boundCallback() called with scope: \n\t" + aSource.Value + "\n\t" + aProperty.Value + "\n\t" + aTruthValue + "\n\n"); 
add: if (DEBUG) { dump("boundCallback() called with scope: \n\t" + aSource.Value + "\n\t" + aProperty.Value + "\n\t" + aTruthValue + "\n"); dump("\taRetVal = " + aRetVal + "\n\n"); }     if (aRetVal != LDAP_RES_BIND) { dump("bind failed\n"); }    var searchOp = Components.classes[ "mozilla.network.ldapoperation"]. createInstance(Components.interfaces. nsILDAPOperation);  searchOp.init(connection, generateGetTargetsSearchCallback());    searchOp.searchExt(url.dn, url.scope, url.filter, 0, -1); 
context:      GetTargets: function(aSource, aProperty, aTruthValue) {	 function generateBoundCallback() {	     boundCallback.prototype.onLDAPMessage = function() {		 // netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");		 if (DEBUG) {		     dump("in the closure\n");		     dump("boundCallback() called with scope: \n\t" + 		     aSource.Value + "\n\t" + aProperty.Value + 		     "\n\t" + aTruthValue + "\n\n");		 }	     }	     cb = new boundCallback();	     return cb;	 }	 if (DEBUG) {	     dump("GetTargets() called with args: \n\t" + aSource.Value + 		  "\n\t" + aProperty.Value + "\n\t" + aTruthValue + "\n\n");	 }	 var url = Components.classes["mozilla.network.ldapurl"]	                        .getService(Components.interfaces.nsILDAPURL);	 url.spec = aSource.Value;	 this.getConnection(url.host, url.port, generateBoundCallback());	 return new ArrayEnumerator(new Array());     },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1cab4f3e13004897cb92941ca32e7bb42e66e9e5/nsLDAPDataSource.js/clean/directory/xpcom/datasource/nsLDAPDataSource.js