Add LDAP Support to fetch category ids