Hey Timo, Thursday, July 19, 2001, 11:17:59 AM, you wrote: T> ´ //next line fails if newinfo is "" or has the current value T> $c=ldap_mod_del($r, "cn=".$User.",ou=Personen,o=gat", $newinfo); Do you mean if $newinfo[$attr] is ""? In any case, removing an attribute without a value does not make sense. I don't know about the current value thing though. -- Kevin