C language function:ldap_compare_s sample codes

Search sample code in the internet.It is the result.


TITLE : c++ - How to do password authentication for a user using LDAP? - Stack Overflow
has_value = ldap_compare_s( ld, dn, "userPassword", "secret" );.......
http://stackoverflow.com/questions/16168293/how-to-do-password-authentication-for-a-user-using-ldap


TITLE : Mozilla LDAP C SDK: Chapter 1 - The Mozilla LDAP C SDK
compare.c Shows how to use ldap_compare_s(), which allows you to test if a particular value is contained in an attribute of an entry........
http://www-archive.mozilla.org/directory/csdk-docs/getstart.htm
TITLE : .NET Client Classes for openldap/winldap - CodeProject
if(c.ldap_compare_s(entryDN, "cn", "test") == true).......
http://www.codeproject.com/Articles/3769/NET-Client-Classes-for-openldap-winldap
search Google

https://www.google.com/#q=ldap_compare_s