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

Re: ldap_first_attribute(3)

Dieter Kluenter writes:
> I just wonder how to fetch operational attributes, as it seems that
> ldap_first_attribute(3), as in following C code fragment, only
> retrieves user attributes.

The server does not return operational attributes unless the search
request explicitly asks for them (in the list of attributes to return).
A server extension (RFC 3673) allows you to ask for attribute "+" which
means all operational attributes.

Remember that when you ask for any attributes, all user attributes are
no longer returned by default - so you must ask for "*" if you want all
user attributes as well.

Don't anthropomorphize computers. They hate that.