C language function:ldap_simple_bind sample codes

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


TITLE : ldap_simple_bind_s(3): LDAP bind routines - Linux man page
int ldap_simple_bind(LDAP *ld, const char *who, const char *passwd);.......
http://linux.die.net/man/3/ldap_simple_bind_s


TITLE : ldap_simple_bind_s(3): LDAP bind routines - Linux man page
The simplest form of the bind call is ldap_simple_bind_s(). It takes the DN to bind as in who, and the userPassword associated with the entry in passwd. It returns an LDAP error indication (see ldap_error(3)). The ldap_simple_bind() call is asynchronous, taking the same parameters but only initiating the bind operation and returning the message id of the request it sent. The result of the operation can be obtained by a subsequent call to ldap_result(3)........
http://linux.die.net/man/3/ldap_simple_bind_s
TITLE : ldap_simple_bind function (Windows)
ULONG ldap_simple_bind(.......
http://msdn.microsoft.com/en-us/library/aa366994(v=vs.85).aspx
TITLE : CPE 401 / 601 Computer Network Systems - ppt download
Simple bind There are actually a bunch of ldap_bind functions, this is the simplest: int ldap_simple_bind( LDAP *ld, connection handle char *dn, who you are (your dis. name) char *passwd) your ldap password LDAP.......
http://slideplayer.com/slide/4946258/
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
* Call the asynchronous ldap_simple_bind() function if you do not want to wait for the bind operation to complete. You can perform other work while periodically checking for the results of the bind operation. (See "Performing an Asynchronous Authentication Operation.").......
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
Note that if you specify a DN but no password, your client will bind to the server anonymously. If you want a NULL password to be rejected as an incorrect password, you need to write code to perform the check before you call the ldap_simple_bind() or the ldap_simple_bind_s() functions........
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
If you want to perform other work (in parallel) while waiting for the bind operation to complete, call the ldap_simple_bind() function. This function sends an LDAP bind request to the server and returns a message ID identifying the bind operation........
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
If you specify a DN but no password, your client will bind to the server anonymously. If you want a NULL password to be rejected as an incorrect password, you need to write code to perform the check before you call the ldap_simple_bind() function........
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
The following section of code uses the asynchronous ldap_simple_bind() function to authenticate the user Barbara Jensen to the LDAP server. (For an example of binding anonymously, see "Binding Anonymously.").......
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
msgid = ldap_simple_bind( ld, BIND_DN, BIND_PW );.......
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
To bind as an anonymous user, call ldap_simple_bind() or ldap_simple_bind_s(), and pass NULL values for the who and passwd parameters. For example:.......
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Mozilla LDAP C SDK: Chapter 4 - Writing an LDAP Client
Both ldap_unbind() and ldap_unbind_s() are synchronous functions. These functions are identical; they use different names so that each authentication function (ldap_simple_bind() and ldap_simple_bind_s()) has a corresponding function for closing the server connection........
http://www-archive.mozilla.org/directory/csdk-docs/writing.htm
TITLE : Configuring COLLABNET Subversion with Active Directory - Dinesh Sharma's Blog
Thank you Dinesh, this is a great post. I have the LDAP Admin login working unencrypted, using port 389. We are using anonymous binding. When I switch to SSL, port 636, using anonymous binding, I get LDAP: ldap_simple_bind() failed. The same SSL configuration works with JXplorer. What could be the reason?.......
http://www.dscentral.in/2011/08/17/ldap-collabnet-subversion-active-directory/
search Google

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