fprintf( stderr, "Could not set LDAP_OPT_PROTOCOL_VERSION %d\n", version );
}
- if ( use_tls && ldap_start_tls( ld, NULL, NULL ) != LDAP_SUCCESS ) {
+ if ( use_tls && ldap_start_tls_s( ld, NULL, NULL ) != LDAP_SUCCESS ) {
if ( use_tls > 1 ) {
ldap_perror( ld, "ldap_start_tls" );
return( EXIT_FAILURE );
fprintf( stderr, "Could not set LDAP_OPT_PROTOCOL_VERSION to %d\n", version );
}
- if ( use_tls && ldap_start_tls( ld, NULL, NULL ) != LDAP_SUCCESS ) {
+ if ( use_tls && ldap_start_tls_s( ld, NULL, NULL ) != LDAP_SUCCESS ) {
if ( use_tls > 1 ) {
ldap_perror( ld, "ldap_start_tls" );
return( EXIT_FAILURE );
fprintf( stderr, "Could not set LDAP_OPT_PROTOCOL_VERSION %d\n", version );
}
- if ( use_tls && ldap_start_tls( ld, NULL, NULL ) != LDAP_SUCCESS ) {
+ if ( use_tls && ldap_start_tls_s( ld, NULL, NULL ) != LDAP_SUCCESS ) {
if ( use_tls > 1 ) {
ldap_perror( ld, "ldap_start_tls" );
return( EXIT_FAILURE );
fprintf( stderr, "Could not set LDAP_OPT_PROTOCOL_VERSION %d\n", version );
}
- if ( use_tls && ldap_start_tls( ld, NULL, NULL ) != LDAP_SUCCESS ) {
+ if ( use_tls && ldap_start_tls_s( ld, NULL, NULL ) != LDAP_SUCCESS ) {
if ( use_tls > 1 ) {
ldap_perror( ld, "ldap_start_tls" );
return( EXIT_FAILURE );
fprintf( stderr, "Could not set LDAP_OPT_PROTOCOL_VERSION %d\n", version );
}
- if ( use_tls && ldap_start_tls( ld, NULL, NULL ) != LDAP_SUCCESS ) {
+ if ( use_tls && ldap_start_tls_s( ld, NULL, NULL ) != LDAP_SUCCESS ) {
if ( use_tls > 1 ) {
ldap_perror( ld, "ldap_start_tls" );
return( EXIT_FAILURE );
# End Source File
# Begin Source File
+SOURCE=.\tmplout.c
+# End Source File
+# Begin Source File
+
SOURCE=.\ufn.c
# End Source File
# Begin Source File
}
int
-ldap_start_tls ( LDAP *ld,
+ldap_start_tls_s ( LDAP *ld,
LDAPControl **serverctrls,
LDAPControl **clientctrls )
{
for (lc = ld->ld_conns; lc != NULL; lc = lc->lconn_next) {
if (ldap_pvt_tls_inplace(lc->lconn_sb) != 0)
return LDAP_OPERATIONS_ERROR;
+
rc = ldap_extended_operation_s(ld, LDAP_EXOP_START_TLS,
NULL, serverctrls, clientctrls, &rspoid, &rspdata);
+
if (rc != LDAP_SUCCESS)
return rc;
if (rspoid != NULL)
# Begin Source File
SOURCE=.\rdwr.c
+# ADD CPP /I "..\libldap"
# End Source File
# Begin Source File
# End Source File
# Begin Source File
-SOURCE=.\thr_sleep.c
-# End Source File
-# Begin Source File
-
SOURCE=.\thr_stub.c
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=..\libldap\tmplout.c
+# End Source File
+# Begin Source File
+
+SOURCE=.\tpool.c
+# ADD CPP /I "..\libldap"
+# End Source File
+# Begin Source File
+
SOURCE=..\libldap\ufn.c
# End Source File
# Begin Source File
#ifndef LDAP_THREAD_HAVE_TPOOL
(void) ldap_int_thread_pool_shutdown();
#endif
- (void) ldap_int_thread_destroy();
+ return ldap_int_thread_destroy();
}
#ifndef LDAP_THREAD_HAVE_GETCONCURRENCY