It seems you miss a small change in http://git.horde.org/horde-git/-/commit/1bba90d1bdb04c774e35c97e0a7cacb668f025b5 IN http://git.horde.org/co.php/framework/Ldap/lib/Horde/Ldap/Util.php?rt=horde-git Line 522 : s/preg_replace/preg_replace_callback/ Thanks for this big cleanup. Remi.