>>>>> "haraldf" == haraldf <[EMAIL PROTECTED]> writes:
haraldf> Claudio Jeker <[EMAIL PROTECTED]> wrote on 21.01.2005
haraldf> 20:48:58:
>> Hum, you are using qmail-ldap-control patch? I would say there
>> is a bug in the control patch that triggers some
>> endless loop but I don't know. What does qmail-showctl display?
haraldf> Yes, I'm using the control patch, so it might be
haraldf> Turbo's problem. :) Found some additional strangeness
haraldf> when adding some (unneeded) files to ~/control. For
haraldf> instance, if I add the port_ldap file, ldaplookup
haraldf> segfaults. That can't be right. :) But back to the real
haraldf> problem. I noticed that I was missing the ldapcontroldn
haraldf> file, so I added it, and now it crashes even earlier.
haraldf> Here's the output: control_readline: Will search FS for:
haraldf> control/me value(control/me)='trix6.lantrix.no'
haraldf> control_readline: Will search FS for:
haraldf> control/ldappassword value(control/ldappassword)='xxx'
haraldf> control_readline: Will search FS for: control/ldaplogin
haraldf> value(control/ldaplogin)='xxx' init_ldap:
haraldf> control/ldaplogin: xxx init_ldap: control/ldappassword:
haraldf> xxx control_readfile: Will search FS for:
haraldf> control/ldapserver init_ldap: control/ldapserver:
haraldf> localhost control_readline: Will search LDAP for:
haraldf> control/port_ldap Nothing found in LDAP control_readline:
haraldf> Will search FS for: control/port_ldap init_ldap:
haraldf> control/port_ldap: control_readline: Will search FS for:
haraldf> control/ldapcontroldn
haraldf>
value(control/ldapcontroldn)='ou=qmail,ou=lantrix.no,dc=lantrix,dc=no'
haraldf> init_ldap: control/ldapcontroldn: and here it goes into
haraldf> the endless loop again. Regards, Harald
I'm quite I've squashed this bug and the fact that QmailLDAP/Controls
seemed to drop/lose mails if the LDAP server wasn't availible. The
main problem was the QLDAP_BAILOUT stuff. It just didn't work (at all,
no wonder really :)
I haven't looked at it in almost five months, and yesterday I saw the
problem more clearly.
The latest version is 20050202 (against QmailLDAP 20040801).
--
smuggle Clinton KGB Albanian Noriega strategic tritium Nazi Marxist
cryptographic Treasury Qaddafi Peking FSF colonel
[See http://www.aclu.org/echelonwatch/index.html for more about this]