rem: return res[0][attribute]; 
add: return res.msgs[0][attribute]; 
context: function searchone(ldb, basedn, expression, attribute){	var attrs = new Array(attribute);	res = ldb.search(expression, basedn, ldb.SCOPE_SUBTREE, attrs);	if (res.length != 1 ||	    res[0][attribute] == undefined) {		return undefined;	}	return res[0][attribute];}
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/7ca399c0755e186508a4ed9796cbbbe6f50181e9/provision.js/buggy/source4/scripting/libjs/provision.js