WIP ldap script