The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
LDAP help Katkota UNIX for Dummies Questions & Answers 0 12-06-2007 11:30 PM
ldap for aix pascalbout AIX 0 07-27-2006 05:56 AM
Ldap dipanrc Linux 2 12-28-2005 08:09 PM
ksh -> LDAP Juan UNIX for Advanced & Expert Users 2 04-05-2005 04:18 AM
Ssl Ldap truma1 UNIX for Advanced & Expert Users 0 11-23-2004 08:51 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-05-2008
phykell phykell is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 4
LDAP - is there an API

Hi,

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.

Thanks for looking
  #2 (permalink)  
Old 09-05-2008
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,913
Yes, there is a C API.

Have a look at the IBM Directory Server C-Client SDK Programming Reference Version 5.2 Document Number SC32-1341-00 or later.

It is available on the Web if you do a search for it.
  #3 (permalink)  
Old 09-05-2008
ramen_noodle ramen_noodle is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2007
Location: Virginia, USA.
Posts: 251
Depending on the source of your ldapsearch utility OpenLDAP may be alternately applicable. OpenLDAP, Software, Man Pages: ldap
  #4 (permalink)  
Old 09-06-2008
phykell phykell is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 4
Thanks for your posts

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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0