Irfaz wrote:
Hi , I am trying to use a simple LDAP client server system.......LDAP server running with minimum configurations as given in slapd.conf file.....My aim is to test LDAP sync feature for Client notification.....Please provide me some sample test code to test sync APis and some slapd.conf files required for the same........
Rather than begging people all across the world to do your thinking for you, why don't you try reading the documentation? Most software engineers would simply read the source code. At the very least, they would look at the source tree and examine what other files are provided in the source distribution, such as the files in the tests directory.
Irfaz Sait Software Engineer
Huawei Technologies India Pvt. Ltd. INNOVATION NEVER STOPS!
This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
...
-----Original Message----- From: Pierangelo Masarati [mailto:ando@sys-net.it] Sent: Monday, April 02, 2007 23:27 To: Irfaz Cc: openldap-software@openldap.org Subject: Re: LDAP Sync protocol doubt
Irfaz wrote:
Hi ,
I was testing the usage of OpenLDAP content synchronization
feature……….But I was struck with an error : “Critical Extension unavailable”……….
I was trying to call ldap_sync_init after ldap_sync_initialize………..and I am not clear about the usage of the Sync APis……
Please provide me some inputs on the same and if possible some sample test codes to achieve client notification from server about updations……..
That API is experimental, so do not expect it to work seamlessly. As far as I know there is no publicly available code sample (although, I concur, some ought to be made available...).
In any case, it expects a server configured to work as a provider; see slapo-syncprov(5) and the Admin Guide for instructions about setting up slapd as a provider.