[tpop3d-discuss] tpop3d v1.4.1pre4
Prune
prune at lecentre.net
Mon, 25 Feb 2002 17:43:38 +0100
--------------030202020700000302090702
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
also try to truss (strace or whatever) the process execution (with
children) and send me the log.
which version of ldap libs are you using ?
mail me when you have news...
Prune
Michael Klatsky wrote:
> No-
>
>
>
> I haven't applied the scope patch yet. The line I pasted is from the
> mail.log. Both mailuser user and group exist (currently running
> vpopmail which works).
>
>
>
> Below, the results of ldd /usr/local/sbin/tpop3d:
>
>
>
> virt01# ldd /usr/local/sbin/tpop3d
> libldap.so.2 => /usr/local/lib/libldap.so.2
> liblber.so.2 => /usr/local/lib/liblber.so.2
> libresolv.so.2 => /usr/lib/libresolv.so.2
> libsocket.so.1 => /usr/lib/libsocket.so.1
> libc.so.1 => /usr/lib/libc.so.1
> libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
> libnsl.so.1 => /usr/lib/libnsl.so.1
> libdl.so.1 => /usr/lib/libdl.so.1
> libmp.so.2 => /usr/lib/libmp.so.2
> /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
>
>
>
>
>
> gdb is not on this machine- so I am getting that setup...
>
>
>
>
>
>
> 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:37 AM
> To: Michael Klatsky; tpop3d-discuss@lists.beasts.org
> Subject: Re: [tpop3d-discuss] tpop3d v1.4.1pre4
>
> 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
>>Se
>>nior 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
>>
>
--------------030202020700000302090702
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html>
<head>
</head>
<body>
also try to truss (strace or whatever) the process execution (with children)
and send me the log.<br>
which version of ldap libs are you using ?<br>
<br>
mail me when you have news...<br>
<br>
Prune <br>
<br>
Michael Klatsky wrote:<br>
<blockquote type="cite" cite="mid:7E12B4C2EBE9B544986F8398373C917F3D4A57@rainier">
<meta content="MSHTML 5.50.4913.1100" name="GENERATOR">
<div><span class="111184116-25022002"><font face="Arial" color="#0000ff" size="2">
No- </font></span></div>
<div><span class="111184116-25022002"></span> </div>
<div><span class="111184116-25022002"><font face="Arial" color="#0000ff" size="2">
I haven't applied the scope patch yet. The line I pasted is from the mail.log.
Both mailuser user and group exist (currently running vpopmail which works).</font></span></div>
<div><span class="111184116-25022002"></span> </div>
<div><span class="111184116-25022002"><font face="Arial" color="#0000ff" size="2">
Below, the results of ldd /usr/local/sbin/tpop3d:</font></span></div>
<div><span class="111184116-25022002"></span> </div>
<div><span class="111184116-25022002"><font face="Arial" color="#0000ff" size="2">
virt01# ldd /usr/local/sbin/tpop3d <br>
libldap.so.2 => /usr/local/lib/libldap.so.2<br>
liblber.so.2 => /usr/local/lib/liblber.so.2<br>
libresolv.so.2 => /usr/lib/libresolv.so.2<br>
libsocket.so.1 => /usr/lib/libsocket.so.1<br>
libc.so.1 => /usr/lib/libc.so.1<br>
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1<br>
libnsl.so.1 => /usr/lib/libnsl.so.1<br>
libdl.so.1 => /usr/lib/libdl.so.1<br>
libmp.so.2 => /usr/lib/libmp.so.2<br>
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1</font></span></div>
<div><span class="111184116-25022002"></span> </div>
<div><span class="111184116-25022002"></span> </div>
<div><span class="111184116-25022002"><font face="Arial" color="#0000ff" size="2">
gdb is not on this machine- so I am getting that setup...</font></span></div>
<div> </div>
<br>
<br>
<p><font size="2"><br>
Sincerely,<br>
<br>
Michael Klatsky<br>
Senior Unix Administrator<br>
Connecticut Telephone<br>
1 Talcott Plaza<br>
Hartford, CT 06103<br>
1-860-240-6496 </font></p>
<blockquote>
<div class="OutlookMessageHeader" dir="Ltr" align="Left"><font face="Tahoma" size="2">
-----Original Message-----<br>
<b>From:</b> Prune [<a class="moz-txt-link-freetext" href="mailto:prune@lecentre.net">mailto:prune@lecentre.net</a>]<br>
<b>Sent:</b> Monday, February 25, 2002 11:37 AM<br>
<b>To:</b> Michael Klatsky; <a class="moz-txt-link-abbreviated" href="mailto:tpop3d-discuss@lists.beasts.org">tpop3d-discuss@lists.beasts.org</a><br>
<b>Subject:</b> Re: [tpop3d-discuss] tpop3d v1.4.1pre4<br>
<br>
</font></div>
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 cite="mid:7E12B4C2EBE9B544986F8398373C917F3D4A56@rainier" type="cite">
<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<b
r>Se<br>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 && t)<br>- ldapinfo.attr.group = xstrdup(s);<br>+ ldapinfo.attr.group = xstrdup(t);<br> else if (s && 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>
</blockquote>
</blockquote>
<br>
</body>
</html>
--------------030202020700000302090702--