https://bugzilla.novell.com/show_bug.cgi?id=710430
https://bugzilla.novell.com/show_bug.cgi?id=710430#c12
Ralf Haferkamp changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|rhafer@suse.com |jsuchome@suse.com
--- Comment #12 from Ralf Haferkamp 2011-08-31 15:04:23 CEST ---
Hm, attaching with a debugger gives this:
----------------------
(gdb) bt
#0 0x00007fb917a31860 in LDAPAsynConnection::getSessionHandle() const () from
/usr/lib64/libldapcpp.so.1
#1 0x00007fb917a474d6 in LDAPSearchRequest::sendRequest() () from
/usr/lib64/libldapcpp.so.1
#2 0x00007fb917a3205c in LDAPAsynConnection::search(std::string const&, int,
std::string const&, StringList const&, bool, LDAPConstraints const*)
() from /usr/lib64/libldapcpp.so.1
#3 0x00007fb917a3913b in LDAPConnection::search(std::string const&, int,
std::string const&, StringList const&, bool, LDAPConstraints const*) ()
from /usr/lib64/libldapcpp.so.1
#4 0x00007fb917cb3ea3 in LdapAgent::Read (this=0x1f4fa60, path=..., arg=...,
opt=...) at LdapAgent.cc:608
[..]
(gdb) frame 4
#4 0x00007fb917cb3ea3 in LdapAgent::Read (this=0x1f4fa60, path=..., arg=...,
opt=...) at LdapAgent.cc:608
608 base_dn, scope, filter, attrs, attrsOnly, cons);
(gdb) list
603 base_dn.c_str(), filter.c_str(), scope);
604 // do the search call
605 LDAPSearchResults* entries = NULL;
606 try {
607 entries = ldap->search (
608 base_dn, scope, filter, attrs, attrsOnly, cons);
609 }
610 catch (LDAPException e) {
611 if (not_found_ok && e.getResultCode() == 32)
612 {
(gdb) print ldap
$1 = (LDAPConnection *) 0x0
(gdb) print ldap_initialized
$2 = true
-----------------------
So it seems the ldap-agent is trying to use an uninitialized LDAPConnection
object. I guess it deleted that object when the start_tls() call failed (see
LdapAgent::Execute().
So I think the ldap-agent has a bug here.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.