[tpop3d-discuss] tpop3d v1.4.1pre4

Prune prune at lecentre.net
Mon, 25 Feb 2002 17:36:36 +0100


--------------020800080907050209040301
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

re,

this is really weired....
you don't say if you applied the patch ?

In your case it should not change anything, anyway.
This is waired as the :
listening on address 66.6.65.180, port 110, domain klatsky.com

line is not created by the ldap plugin.

could you please do a 'ldd /path/to/tpop3d'
and see if every libs are found ?

Do you see something special in /var/log/maillog ??

Does the user and group 'mailuser' exists in /etc/passwd and /etc/group ?

if all this crashes, add more debug lines in auth_ldap.c, recompile and 
give us the result of the 'make' command.
If someone this this is beyond the scope of the ML, just mail me private...

Cheers,

Prune


Michael Klatsky wrote:

>Here is my tpop3d.conf. I changed it since last post to use the default:
>
>virt01# less /etc/tpop3d.conf 
>listen-address: 66.6.65.180:110(domain.com)
> 
>append-domain: yes
>
>auth-ldap-enable: yes
>
>auth-ldap-url: ldap://xxx.xxx.xxx.xxx:389
>
>auth-ldap-searchdn: cn=Manager,dc=mydomain,dc=com
>
>auth-ldap-password: xxxxxxxxxx
>
>#auth-ldap-filter: (uid=$(local_part))
>
>auth-ldap-mailbox-attr: mailMessageStore
>
>auth-ldap-mail-user: mailuser
>auth-ldap-mail-group: mailuser
>
>
>Re the crash- no connection was mad to ldap server before crashing- it
>got to the point of reading the first line of the tpop3d.conf file, it
>appears:
>
>Feb 25 10:43:44 virt01 tpop3d[9593]: [ID 702911 mail.info] listening on
>address 66.6.65.180, port 110, domain klatsky.com
>Feb 25 10:43:44 virt01 tpop3d[9593]: [ID 702911 mail.error] quit: signal
>11 post_fork = 0
>
>
> 
>Sincerely,
> 
>Michael Klatsky
>Senior Unix Administrator
>Connecticut Telephone
>1 Talcott Plaza
>Hartford, CT 06103
>1-860-240-6496 
>
>-----Original Message-----
>From: Prune [mailto:prune@lecentre.net]
>Sent: Monday, February 25, 2002 11:14 AM
>To: Michael Klatsky
>Cc: Chris Lightfoot; tpop3d-discuss@lists.beasts.org
>Subject: Re: [tpop3d-discuss] tpop3d v1.4.1pre4
>
>
>
>
>Michael Klatsky wrote:
>
>>Prune-
>>
>>Right- I had turned up the debuglevel on my ldap server so I could
>>locate the object not found. Re the crash when running tpop3d using -v
>>
>:
>
>>virt01# /usr/local/sbin/tpop3d -d -v -f /etc/tpop3d.conf 
>>listening on address 66.6.65.180, port 110, domain klatsky.com
>>quit: signal 11 post_fork = 0
>>Segmentation fault (core dumped)
>>
>>
>>This I imagine is a separate issue- probably related to something
>>
>local-
>
>>unless others have similar experiences on Solaris.
>>
>>
>>Re LDAP- what scope search is enabled by default in tpop3d? I usually
>>use a scope of 2 (sub) which catches everything below the search DN.
>>That might be the issue- the definition of the search base. I might
>>
>have
>
>>missed it.
>>
>ok....
>the scope is 2 (sub).
>did you apply the patch sent on the list changing a "s" to a "t" in the 
>group definition  ?
>
>here it is again :
>
>--- auth_ldap.c 2002/02/24 18:07:52     1.2
>+++ auth_ldap.c 2002/02/25 10:44:49
>@@ -191,7 +191,7 @@
>             goto fail;
>         }
>     } else if (!s && t)
>-        ldapinfo.attr.group = xstrdup(s);
>+        ldapinfo.attr.group = xstrdup(t);
>     else if (s && t) {
>         log_print(LOG_ERR, _("auth_ldap_init: both an
>auth-ldap-mail-group and an auth-ldap-mail-group-attr directive were
>specified"));
>         goto fail;
>
>
>
>
>can you send me your tpop3d.conf again please ?
>does you tpop3d server connect to ldap before crashing ?
>
>Cheers,
>
>Prune
>


--------------020800080907050209040301
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
re,<br>
<br>
this is really weired....<br>
you don't say if you applied the patch ?<br>
<br>
In your case it should not change anything, anyway.<br>
This is waired as the :<br>
listening on address 66.6.65.180, port 110, domain klatsky.com<br>
<br>
line is not created by the ldap plugin.<br>
<br>
could you please do a 'ldd /path/to/tpop3d'<br>
and see if every libs are found ?<br>
<br>
Do you see something special in /var/log/maillog ??<br>
<br>
Does the user and group 'mailuser' exists in /etc/passwd and /etc/group ?<br>
<br>
if all this crashes, add more debug lines in auth_ldap.c, recompile and give
us the result of the 'make' command.<br>
If someone this this is beyond the scope of the ML, just mail me private...<br>
<br>
Cheers,<br>
<br>
Prune<br>
<pre wrap=""><br></pre>
Michael Klatsky wrote:<br>
<blockquote type="cite" cite="mid:7E12B4C2EBE9B544986F8398373C917F3D4A56@rainier">
  <pre wrap="">Here is my tpop3d.conf. I changed it since last post to use the default:<br><br>virt01# less /etc/tpop3d.conf <br>listen-address: 66.6.65.180:110(domain.com)<br> <br>append-domain: yes<br><br>auth-ldap-enable: yes<br><br>auth-ldap-url: ldap://xxx.xxx.xxx.xxx:389<br><br>auth-ldap-searchdn: cn=Manager,dc=mydomain,dc=com<br><br>auth-ldap-password: xxxxxxxxxx<br><br>#auth-ldap-filter: (uid=$(local_part))<br><br>auth-ldap-mailbox-attr: mailMessageStore<br><br>auth-ldap-mail-user: mailuser<br>auth-ldap-mail-group: mailuser<br><br><br>Re the crash- no connection was mad to ldap server before crashing- it<br>got to the point of reading the first line of the tpop3d.conf file, it<br>appears:<br><br>Feb 25 10:43:44 virt01 tpop3d[9593]: [ID 702911 mail.info] listening on<br>address 66.6.65.180, port 110, domain klatsky.com<br>Feb 25 10:43:44 virt01 tpop3d[9593]: [ID 702911 mail.error] quit: signal<br>11 post_fork = 0<br><br><br> <br>Sincerely,<br> <br>Michael Klatsky<br>Se
nior Unix Administrator<br>Connecticut Telephone<br>1 Talcott Plaza<br>Hartford, CT 06103<br>1-860-240-6496 <br><br>-----Original Message-----<br>From: Prune [<a class="moz-txt-link-freetext" href="mailto:prune@lecentre.net">mailto:prune@lecentre.net</a>]<br>Sent: Monday, February 25, 2002 11:14 AM<br>To: Michael Klatsky<br>Cc: Chris Lightfoot; <a class="moz-txt-link-abbreviated" href="mailto:tpop3d-discuss@lists.beasts.org">tpop3d-discuss@lists.beasts.org</a><br>Subject: Re: [tpop3d-discuss] tpop3d v1.4.1pre4<br><br><br><br><br>Michael Klatsky wrote:<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">Prune-<br><br>Right- I had turned up the debuglevel on my ldap server so I could<br>locate the object not found. Re the crash when running tpop3d using -v<br></pre>
    </blockquote>
    <pre wrap=""><!---->:<br></pre>
    <blockquote type="cite">
      <pre wrap="">virt01# /usr/local/sbin/tpop3d -d -v -f /etc/tpop3d.conf <br>listening on address 66.6.65.180, port 110, domain klatsky.com<br>quit: signal 11 post_fork = 0<br>Segmentation fault (core dumped)<br><br><br>This I imagine is a separate issue- probably related to something<br></pre>
      </blockquote>
      <pre wrap=""><!---->local-<br></pre>
      <blockquote type="cite">
        <pre wrap="">unless others have similar experiences on Solaris.<br><br><br>Re LDAP- what scope search is enabled by default in tpop3d? I usually<br>use a scope of 2 (sub) which catches everything below the search DN.<br>That might be the issue- the definition of the search base. I might<br></pre>
        </blockquote>
        <pre wrap=""><!---->have<br></pre>
        <blockquote type="cite">
          <pre wrap="">missed it.<br><br></pre>
          </blockquote>
          <pre wrap=""><!---->ok....<br>the scope is 2 (sub).<br>did you apply the patch sent on the list changing a "s" to a "t" in the <br>group definition  ?<br><br>here it is again :<br><br>--- auth_ldap.c 2002/02/24 18:07:52     1.2<br>+++ auth_ldap.c 2002/02/25 10:44:49<br>@@ -191,7 +191,7 @@<br>             goto fail;<br>         }<br>     } else if (!s &amp;&amp; t)<br>-        ldapinfo.attr.group = xstrdup(s);<br>+        ldapinfo.attr.group = xstrdup(t);<br>     else if (s &amp;&amp; t) {<br>         log_print(LOG_ERR, _("auth_ldap_init: both an<br>auth-ldap-mail-group and an auth-ldap-mail-group-attr directive were<br>specified"));<br>         goto fail;<br><br><br><br><br>can you send me your tpop3d.conf again please ?<br>does you tpop3d server connect to ldap before crashing ?<br><br>Cheers,<br><br>Prune<br><br></pre>
          </blockquote>
          <br>
          </body>
          </html>

--------------020800080907050209040301--