Bug 683826

Summary: TLS Options weirdness in llibldap/libldapcpp
Product: [openSUSE] openSUSE 11.4 Reporter: Ralf Haferkamp <ralf>
Component: OtherAssignee: Ralf Haferkamp <ralf>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jsuchome
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 684395    

Description Ralf Haferkamp 2011-03-30 16:17:13 UTC
The following does not work as expected:

int main() {
        LDAPConnection ldap("ldap://localhost");
        try {
                ldap.start_tls();
        } catch ( LDAPException(e)) {
                std::cerr << e << std::endl;
        }
        TlsOptions tls;
        tls.setOption (TlsOptions::CACERTDIR, "/etc/openldap/cacerts/");
        LDAPConnection ldap2("ldap://localhost");
        try {
                ldap2.start_tls();
        } catch ( LDAPException(e)) {
                std::cerr << e << std::endl;
        }
}
Comment 1 Ralf Haferkamp 2011-04-01 09:29:56 UTC
submitted to factory
Comment 2 Bernhard Wiedemann 2011-04-28 11:59:13 UTC
This is an autogenerated message for OBS integration:
This bug (683826) was mentioned in
https://build.opensuse.org/request/show/65742