|Anonymous | Login | Signup for a new account||2019-07-17 15:16 CAT|
|My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001623||Anope Stable (2.0.x series)||[All Projects] General||public||2014-11-28 03:01||2015-03-12 14:43|
|Summary||0001623: random crash on ldap authentication|
I am using anope's ldap authentication module to integrate services with ldap user accounts.
However, I see the following problems:
Sometimes when giving an incorrect password the log says "protocol error" although that may be some configuration problem,
And also there is a more serious problem that if I try to quickly identify/logout/identify, although it usually works, it will completely crash anope after 2 or 3 tries, not sure if doing it slower changes things.
|Steps To Reproduce||1. Configure anope to use ldap authentication.|
2. Login to your account, see it succeeded.
3. Try to quickly log out and back in, after few successful logins there will be a crash without anything interesting in logs.
|Additional Information||It is anope-2.0.1 compiled without debug info, debug logging is also disabled at the moment.|
|Tags||No tags attached.|
|Reopen if still an issue post fb17bc85ead8c1be6ebe1561f77865f083fdc000|
|I believe that linking with ldap_r solves the problem, at least when testing logout/login I didn't crash services as before.|
|Try changing m_ldap to link to ldap_r not ldap.|
I attach valgrind and gdb's bt full output, I don't have them in any other form so giving links to pastebin:
bt full: http://pastebin.anope.org/index.php?page=viewpaste&id=761b3f51d4 [^]
valgrind: http://pastebin.anope.org/index.php?page=viewpaste&id=d15fd255df [^]
|Honestly, unless I am wrong, I am using openldap 2.4.40 manually compiled and put to /usr/local, ldd says m_ldap links to this one.|
edited on: 2014-11-28 07:56
Are you using debian? I had the same bug on my debian box.
The debugger said its a bug in the ldap library.
After installing the library from www.openldap.org the bug was gone.
I think this also fixed the protocol error log message.
|2014-11-28 03:01||webczat||New Issue|
|2014-11-28 07:54||DukePyrolator||Note Added: 0006675|
|2014-11-28 07:55||DukePyrolator||Note Edited: 0006675||View Revisions|
|2014-11-28 07:56||DukePyrolator||Note Edited: 0006675||View Revisions|
|2014-11-28 14:33||webczat||Note Added: 0006676|
|2014-11-29 09:24||webczat||Note Added: 0006678|
|2014-11-30 19:20||Adam||Note Added: 0006679|
|2014-12-02 01:24||webczat||Note Added: 0006681|
|2015-03-12 14:43||Adam||Note Added: 0006721|
|2015-03-12 14:43||Adam||Status||new => resolved|
|2015-03-12 14:43||Adam||Resolution||open => fixed|
|2015-03-12 14:43||Adam||Assigned To||=> Adam|
|Copyright © 2000 - 2019 MantisBT Team|