once i'am having problmes to add attributes with boolean syntax (1.3.6.1.4.1.1466.115.121.1.7)
$['boolean_attr']=true; //give me one warning, ldap_add(): Add: Invalid syntax
solved this by setting the value on this:
$['boolean_attr']='TRUE';
hope this can helps.