LDAP account management writen in PHP