Hi Martin, I'm trying to reproduce the bug you reported, in order to determine whether Maciej's patch fixed it or not.
However, a simple C program making the following calls: ldap_set_option(NULL, LDAP_OPT_PROTOCOL_VERSION, &protocol_version); ldap_initialize(&ld, "ldaps://"); ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, &reqcert); ldap_simple_bind_s(ld, NULL, NULL); ldap_initialize(&ld, "ldap://"); ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, &reqcert); ldap_start_tls_s(ld, NULL, NULL); appears to behave as expected for me. Could you please post the program code (any language is fine) that you used to demonstrate the bug? Thanks! ** Changed in: openldap (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1547927 Title: LDAP_OPT_X_TLS_REQUIRE_CERT handling differences between ldaps:// and STARTTLS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1547927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs