After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 424459 - ekiga.net has weird search behaviour
ekiga.net has weird search behaviour
Status: RESOLVED WONTFIX
Product: ekiga
Classification: Applications
Component: ekiga.net
GIT master
Other All
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2007-03-30 13:14 UTC by Snark
Modified: 2020-06-06 16:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Snark 2007-03-30 13:14:00 UTC
As Luc found out, doing something like :
ldapsearch -h ldap.ekiga.net -x -b "dc=ekiga,dc=net" '(cn=foo)'
will do a proper search, while :
ldapsearch -h ldap.ekiga.net -x -b "dc=ekiga,dc=net" '(givenName=foo)'
just returns 100 results, as if there was no search.

This is where my new LDAP code gets bitten. I now have a workaround, but still.
Comment 1 Luc Saillard 2007-03-30 13:24:00 UTC
The ldap server seems to have been modified so a search on (cn=foo) is really a search on ((cn=*foo*)|(givenname=*foo*))

But the search on (givenname=foo) seems to be broken. And doesn't do anything.

btw: the email is plain readeable
Comment 2 Damien Sandras 2007-03-30 13:41:07 UTC
Yes there is a broken PERL back-end derivated from Paul's work.

I don't have the time to maintain it, so, except if anyone steps up, it will be marked as WONTFIX.
Comment 3 Snark 2007-03-30 13:54:59 UTC
About the email : we've had a report once, which we closed because people knowingly
register and publish, but now I wonder if it's serious :-/
Comment 4 Snark 2007-03-30 14:45:41 UTC
I thought the perl backend was for ILS !?
Comment 5 Damien Sandras 2007-03-30 14:48:54 UTC
It is still being used to read in the SQL databases of SER.

The problem is that the native SQL backend of OpenLDAP was really crappy, and the server was overloaded all the time. So I had to find a hack !
Comment 6 Snark 2007-03-30 16:38:58 UTC
You said "was" ; did it get better ?
Comment 7 Luc Saillard 2007-03-30 16:45:05 UTC
else is it possible to have the source of the perl code ?
to try to fix the bug ?
Comment 8 Snark 2007-03-30 16:50:02 UTC
Luc, perl code is written, never read. ;-)
Comment 9 Howard Chu 2008-10-11 09:47:28 UTC
I can take a look at it for you. I just did an ldapsearch at ldap.ekiga.net just now, it is definitely wacked...
Comment 10 Damien Sandras 2008-10-11 10:05:39 UTC
Ekiga.net is not real LDAP. It is a complete hack.

The problem is that the mysql openldap backend does not support the high load on the server, so we had to write a hack involving a perl back-end and that hack is really bad.

The ideal would be to use the mysql openldap backend.
Comment 11 Snark 2008-10-11 10:31:00 UTC
Would postgresql do better?
Comment 12 Jan Schampera 2008-10-11 10:43:47 UTC
In general definitely (far) better.

But I don't think this particular problem stands and falls with the DB system.

J.
Comment 13 Damien Sandras 2008-10-11 10:48:22 UTC
It is an OpenLDAP backend problem. But I think it has been rewritten since our last try.
Comment 14 Howard Chu 2008-10-11 17:11:37 UTC
(In reply to comment #13)
> It is an OpenLDAP backend problem. But I think it has been rewritten since our
> last try.
> 
It's received a variety of updates, sure. We'd have to profile it to see if it's actually improved enough for this purpose.

I should point out that OpenLDAP 2.4.12 (due to be released in the next couple days) has a new back-ndb backend that talks natively to MySQL's NDB storage engine (no SQL translation layer involved). The tables that it uses can be accessed simultaneously from both SQL and LDAP with no performance penalty on either side. But you'll need to make sure that new entries are only created from the LDAP side. (Should be no problem to make your account registration web page use LDAP, right?)
Comment 15 Damien Sandras 2008-10-12 09:29:22 UTC
It would be a huge change :-/
Comment 16 Snark 2008-10-12 11:23:41 UTC
Yes, but if on the one hand we have ekiga.net with a strange-LDAP and on the other hand a vast number of really-LDAP servers, what should our LDAP::Book code do?

Isn't fixing ekiga.net the path of least resistance *and* higher sanity?
Comment 17 Damien Sandras 2008-10-12 12:11:47 UTC
If someone does it, why not.

But I would not change the webpages to use LDAP. I would keep MySQL as it is what all of our SIP servers use.

The best is to have a real LDAP frontend with SQL as backend. Not the opposite.
Comment 18 Howard Chu 2008-10-12 17:49:35 UTC
What do you mean the opposite? The back-ndb solution is a real LDAP frontend and a real SQL backend. (Actually, a lower level backend, but SQL will still work with it transparently.) The SIP servers can continue to operate as they have; why does it matter to them what the web page uses?
Comment 19 Damien Sandras 2008-10-12 18:08:51 UTC
Why can't we use mysql to modify the table ?

If the SIP Server modifies some of the tables, does that mean those modifications can not be seen using the LDAP server ndb back-end ?
Comment 20 Howard Chu 2008-10-12 18:31:05 UTC
You can perform most modifications from either LDAP or SQL. But the LDAP side also uses some auxiliary tables that your SQL apps will know nothing about. When inserting new records into the database, both the main table and the auxiliary table must be updated. But if you're just modifying existing records, there's no restriction.
Comment 21 Snark 2009-06-09 18:45:11 UTC
What is the status of this bug?
Comment 22 Eugen Dedu 2010-01-13 16:34:54 UTC
Any news about this bug?
Comment 23 Tobias Mueller 2010-03-01 10:38:02 UTC
k, I'm closing this bug for good. If you have any problems, please open a new bug and let's hope that it won't go mad ;)
Comment 24 Yannick 2010-03-01 12:44:24 UTC
Hi,

We will rework ekiga.net. This will extend wht users can do with their account. I really need to know how to integrate the LDAP stuff in. Damien, please comment how to have all this properly integrated because a of now I've no idea how the LDAP stuff work with ekiga.net.

Best regards,
Yannick
Comment 25 André Klapper 2020-06-06 16:31:17 UTC
Ekiga is not under active development anymore:
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/273

Ekiga saw its last release 7 years ago. The last code commits were 4 years ago.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (and transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active Ekiga development again in the future.