I've just been experimenting with AIX's ldapsearch utility - I've been successfully using it to retrieve information from an Active Directory, however, I need to make similar calls from a C program.
Is there a suitable LDAP API on AIX which will give me similar capabilties to the ldapsearch utlity?
An alternative is to call ldapsearch from my program but that's not really ideal.
I spoke to our UNIX admin guy who located some additional ldap stuff - the LPP contained some additional directories one of which was an examples folder which contained, amongst other utilities, the source code for ldapsearch. I was able to build this quite easily and I'll modify it for my application which needs to only do specific types of search.