Bug 683826 - TLS Options weirdness in llibldap/libldapcpp
Summary: TLS Options weirdness in llibldap/libldapcpp
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Other (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ralf Haferkamp
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 684395
  Show dependency treegraph
 
Reported: 2011-03-30 16:17 UTC by Ralf Haferkamp
Modified: 2011-04-28 11:59 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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