C language function:ldap_start_tls_s sample codes

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


TITLE : [Dovecot] Installing Dovecot on Gentoo
Jan 13 15:23:11 mx0 dovecot: auth: Error: LDAP: ldap_start_tls_s() failed: Connect error.......
http://dovecot.org/list/dovecot/2013-January/140259.html


TITLE : [Dovecot] Installing Dovecot on Gentoo
Jan 13 15:23:11 mx0 dovecot: auth: Error: LDAP: ldap_start_tls_s() failed: Can't contact LDAP server.......
http://dovecot.org/list/dovecot/2013-January/140259.html
TITLE : [Dovecot] Installing Dovecot on Gentoo
Jan 13 15:24:00 mx0 dovecot: auth: Error: LDAP: ldap_start_tls_s() failed: Can't contact LDAP server.......
http://dovecot.org/list/dovecot/2013-January/140259.html
TITLE : PAM_LDAP - System accounts locked out | The FreeBSD Forums
nslcd: [6f59b2] DEBUG: ldap_start_tls_s().......
http://forums.freebsd.org/threads/44708/
TITLE : ruby-openldap/connection.c at master ‘µ ged/ruby-openldap ‘µ GitHub
int rval = ldap_start_tls_s( ld, NULL, NULL );.......
http://github.com/ged/ruby-openldap/blob/master/ext/openldap_ext/connection.c
TITLE : SingleSignOn - Community Help Wiki
nslcd: ldap_start_tls_s() failed: Connect error.......
http://help.ubuntu.com/community/SingleSignOn
TITLE : ldap_start_tls_s function (Windows)
ULONG ldap_start_tls_s(.......
http://msdn.microsoft.com/en-us/library/aa366997(v=vs.85).aspx
TITLE : LDAP-based Apache auth (mod_ldap + mod_authnz_ldap) using own CA for SSL/TLS - Server Fault
auth_ldap authenticate: user john-doe authentication failed; URI / [LDAP: ldap_start_tls_s() failed][Connect error].......
http://serverfault.com/questions/573536/ldap-based-apache-auth-mod-ldap-mod-authnz-ldap-using-own-ca-for-ssl-tls
TITLE : c++ - Unable to bind sample program to LDAP server via SSL (ldaps://) - Stack Overflow
rc = ldap_start_tls_s(ld, NULL, NULL);.......
http://stackoverflow.com/questions/16962248/unable-to-bind-sample-program-to-ldap-server-via-ssl-ldaps
TITLE : Apache2 ldap auth over TLS
[LDAP: ldap_start_tls_s() failed][Connect error].......
http://staff.adams.edu/~cdmiller/posts/Apache2-mod-authnz-ldap-TLS/

Request Start TLS with ldap_start_tls_s()........
http://wiki.mozilla.org/Mozilla_LDAP_SDK_Programmer's_Guide/SSL_Connections_With_LDAP_C_SDK

if ( ldap_start_tls_s( ld, NULL, NULL ) != LDAP_SUCCESS ) {.......
http://wiki.mozilla.org/Mozilla_LDAP_SDK_Programmer's_Guide/SSL_Connections_With_LDAP_C_SDK
TITLE : Setting up a FreeIPA Server on RHEL 7 | Lisenet.com :: Linux | Security | Networking
Log says: Apr 12 11:07:49 server1.example.com nslcd[13262]: [8b4567] ldap_start_tls_s() failed (uri=ldaps://ipa.example.com): clished. Apr 12 11:07:49 server1.example.com nslcd[13262]: [8b4567] failed to bind to LDAP server ldaps://ipa.example.com: Opclished. Apr 12 11:07:49 server1.example.com nslcd[13262]: [8b4567] no available LDAP server found: Operations error.......
http://www.lisenet.com/2016/freeipa-server-on-rhel-7-centos-7/
TITLE : LDAP over SSL
rc = ldap_start_tls_s(ld, NULL, NULL);.......
http://www.openldap.org/lists/openldap-software/200201/msg00022.html
TITLE : Re: SSL connection using libLDAP [Even More Questions]
After some searching, I figured out that I don't actually need to invoke ldap_start_tls_s(ldap, NULL, NULL); after having invoked ldap_initialize(&ldap,"ldaps://..."); From Kurt's first response I gathered that this mean I am using the non-standard approach........
http://www.openldap.org/lists/openldap-software/200603/msg00253.html
TITLE : Re: SSL connection using libLDAP [Even More Questions]
ldap_start_tls_s(ldap, NULL, NULL);.......
http://www.openldap.org/lists/openldap-software/200603/msg00253.html
TITLE : Re: SSL connection using libLDAP [Even More Questions]
ldap: URL, set version to 3, and then call ldap_start_tls_s(3)........
http://www.openldap.org/lists/openldap-software/200603/msg00253.html
TITLE : Re: Question about ldap_init, ldap_initialize, start_tls, LDAP_OPT_X_TLS
Next, it should be clear from the above that you cannot use ldap_start_tls_s() when the server is expecting the 'ldaps' protocol. That call in you code is failing, but you aren't checking the return code so you didn't know that........
http://www.openldap.org/lists/openldap-software/200706/msg00173.html
TITLE : Re: Question about ldap_init, ldap_initialize, start_tls, LDAP_OPT_X_TLS
Use ldap_initialize(). Then, if the URL specified "ldap:", call ldap_start_tls_s()........
http://www.openldap.org/lists/openldap-software/200706/msg00173.html
TITLE : ldap_start_tls_s() usage related errors
ldap_start_tls_s() usage related errors.......
http://www.openldap.org/lists/openldap-technical/200810/msg00068.html
TITLE : ldap_start_tls_s() usage related errors
* Subject: ldap_start_tls_s() usage related errors.......
http://www.openldap.org/lists/openldap-technical/200810/msg00068.html
TITLE : ldap_start_tls_s() usage related errors
status = ldap_start_tls_s(ld, NULL, NULL);.......
http://www.openldap.org/lists/openldap-technical/200810/msg00068.html
TITLE : ldap_start_tls_s() usage related errors
* Re: ldap_start_tls_s() usage related errors.......
http://www.openldap.org/lists/openldap-technical/200810/msg00068.html
TITLE : ldap_start_tls_s() usage related errors
* Next by Date: Re: ldap_start_tls_s() usage related errors.......
http://www.openldap.org/lists/openldap-technical/200810/msg00068.html
TITLE : Sudo Stable Release
* Setting the SSL parameter to start_tls in ldap.conf now works properly when using Mozilla-based SDKs that support the ldap_start_tls_s() function........
http://www.sudo.ws/stable.html
search Google

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