ldap working with custom table data