Thanks for the prompt answer. I tried to perform queries in the database using AS 'attr-name' and AS "attr-name" - both don't work.
OK, then you need to figure out a normalization rule that replaces "-" with an acceptable character, possibly not allowed by LDAP, so that bidirectional translation is possible.
Yes, the other option is to change database because it looks that PostgreSQL DB doesn't support hyphens in aliases nor in table names.
Thanks, greg
openldap-technical@openldap.org