rem: var cn = res[0]["cn"]; 
add: var cn = res.msgs[0]["cn"]; 
context: function get_object_cn(ldb, name) {	var attrs = new Array("cn");	var res = ldb.search(sprintf("(ldapDisplayName=%s)", name), rootDse.schemaNamingContext, ldb.SCOPE_SUBTREE, attrs);	assert(res != undefined);	assert(res.length == 1);        var cn = res[0]["cn"];	assert(cn != undefined);	if (typeof(cn) == "string") {		return cn;	}	return cn[0];}
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/7ca399c0755e186508a4ed9796cbbbe6f50181e9/minschema.js/clean/testprogs/ejs/minschema.js