Hi folks!
i would like to implement a simple interface ldap to connect my client programs to the sever ldap machine in my job. I would like to implement only the necessary in order to my client app to handle ldap. My listing of function goes below:
0. Connecting, disconnecting, authenticating
ldap_connect, ldap_open, ldap_bind and ldap_unbind.
1. Searching and retrieving entries
ldap_search, ldap_first_entry and ldap_next_entry.
2. Manipulating entries
ldap_add, ldap_modify, ldap_modrdn, ldap_delete and ldap_compare.
What are the RFC for this function (of course i will implement in ANSI C) ? How to organize data to be sent to the ldap server ? How to decode the data from the ldap server ? etc .....
Thanks a lot for your time and cooperation.
Best regards,
Fried.
--On Monday, September 28, 2015 7:41 PM -0300 Friedrich Locke friedrich.locke@gmail.com wrote:
Hi folks!
i would like to implement a simple interface ldap to connect my client programs to the sever ldap machine in my job. I would like to implement only the necessary in order to my client app to handle ldap. My listing of function goes below:
I would suggest you look at any number of modern programs that use the OpenLDAP C API. The OpenLDAP source code in and of itself has many examples, as do other pieces of software such as Postfix, OpenDKIM, etc.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Friedrich Locke wrote:
Hi folks!
i would like to implement a simple interface ldap to connect my client programs to the sever ldap machine in my job. I would like to implement only the necessary in order to my client app to handle ldap. My listing of function goes below:
No.
What are the RFC for this function (of course i will implement in ANSI C) ? How to organize data to be sent to the ldap server ? How to decode the data from the ldap server ? etc .....
Read the ldap(3) manpage.
openldap-technical@openldap.org