be more verbose on StartTLS errors

This commit is contained in:
Ralf Haferkamp 2010-03-15 14:51:40 +00:00
parent 7cec659d74
commit 5e9efb1720

View file

@ -79,7 +79,7 @@ void LDAPAsynConnection::initialize(const std::string& uri){
void LDAPAsynConnection::start_tls(){
int ret = ldap_start_tls_s( cur_session, NULL, NULL );
if( ret != LDAP_SUCCESS ) {
throw LDAPException(ret);
throw LDAPException(this);
}
}