Mailinglist Archive: opensuse-bugs (19785 mails)

< Previous Next >
[Bug 389144] LDAP Client crash
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 16 May 2008 08:26:15 -0600 (MDT)
  • Message-id: <20080516142615.F3B9F24538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=389144

User rhafer@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=389144#c11





--- Comment #11 from Ralf Haferkamp <rhafer@xxxxxxxxxx> 2008-05-16 08:26:15
MST ---
Found the problem. yast2-mail is trying to create indexes on a non-existing
database. It uses Ldap->Read() / Ldap->Export() to find out the base-dn before
the LDAP client is configured. This results in the wrong basedn
(dc=example,dc=com).
With the base dn it calls YaPI::LdapServer->AddIndex(), which does not check if
the database exists and just breaks the config. :(

So we have two bugs here:
1. YaPI::LdapServer should check if a database with the given suffix does exist
2. yast2-mail should use YaPI->LdapServer->ReadDatabaseList() to find out the
base dn of the database.

I'll fix the first one and hand this bug over to Peter when I am done.

(Note, I have still not been able create a crash of the ldap-client module
while testing this.)


--
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.

< Previous Next >
References