Hi Community!
I am currently programming a tool (in ANSI C) for my company which reads from an LDAP Directory and outputs all the data in a specific format (that is: the name format of our old proprietary directory db). This is then handled by another tool which reads the output and so on ... don't ask.
Anyways, for my "ldaplist ..." command I need to print out all attributes belonging to that entry, even those which have no value set.
Unfortunately ldap_first_attribute
/ ldap_next_attribute
does not return them, only those which have a value set, and I can't find an ldap_search_ext_s
parameter or an ldap_set_option
switch that would help me here.
Hope one of you knows how to do that.
Thanks for your time and help in advance!