[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_entry_objclasses and attribute mappings with back-sql



On Sun, 2004-03-07 at 10:49, Guenther Starnberger wrote:

Hi,

> Somehow i am not able to return custom attributes for classes defined as
> ldap_entry_objclasses with back-sql.

Hmmm.. the cause of the problem seems to be in the SQL queries which are
generated.

ie. one query with a WHERE clause of ldap_entries.oc_map_id=101 (which
is a posixAccount) AND (upper('posixAccount')='POSIXACCOUNT'), which
doesn't find anything because this oc_map_id isn't a posixAccount but an
inetOrgPerson.

another query with a WHERE clause of ldap_entries.oc_map_id=1 (which is
an inetOrgPerson) AND (upper('inetOrgPerson')='POSIXACCOUNT').

Is this a configuration error or a bug in OpenLDAP?

cu
/gst


Attachment: signature.asc
Description: This is a digitally signed message part