[tpop3d-discuss] tpop3d v1.4.1pre4
Michael Klatsky
mklatsky at cttel.com
Mon, 25 Feb 2002 11:43:52 -0500
This is a multi-part message in MIME format.
------_=_NextPart_001_01C1BE1B.9BB013B4
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
No-=20
=20
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).
=20
Below, the results of ldd /usr/local/sbin/tpop3d:
=20
virt01# ldd /usr/local/sbin/tpop3d=20
libldap.so.2 =3D> /usr/local/lib/libldap.so.2
liblber.so.2 =3D> /usr/local/lib/liblber.so.2
libresolv.so.2 =3D> /usr/lib/libresolv.so.2
libsocket.so.1 =3D> /usr/lib/libsocket.so.1
libc.so.1 =3D> /usr/lib/libc.so.1
libgcc_s.so.1 =3D> /usr/local/lib/libgcc_s.so.1
libnsl.so.1 =3D> /usr/lib/libnsl.so.1
libdl.so.1 =3D> /usr/lib/libdl.so.1
libmp.so.2 =3D> /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
=20
=20
gdb is not on this machine- so I am getting that setup...
=20
Sincerely,
Michael Klatsky
Senior Unix Administrator
Connecticut Telephone
1 Talcott Plaza
Hartford, CT 06103
1-860-240-6496=20
-----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=20
listen-address: 66.6.65.180:110(domain.com)
=20
append-domain: yes
auth-ldap-enable: yes
auth-ldap-url: ldap://xxx.xxx.xxx.xxx:389
auth-ldap-searchdn: cn=3DManager,dc=3Dmydomain,dc=3Dcom
auth-ldap-password: xxxxxxxxxx
#auth-ldap-filter: (uid=3D$(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 =3D 0
=20
Sincerely,
=20
Michael Klatsky
Se
nior Unix Administrator
Connecticut Telephone
1 Talcott Plaza
Hartford, CT 06103
1-860-240-6496=20
-----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=20
listening on address 66.6.65.180, port 110, domain klatsky.com
quit: signal 11 post_fork =3D 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=20
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 =3D xstrdup(s);
+ ldapinfo.attr.group =3D 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
------_=_NextPart_001_01C1BE1B.9BB013B4
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4913.1100" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2>No-=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
haven't applied the scope patch yet. The line I pasted is from the =
mail.log.=20
Both mailuser user and group exist (currently running vpopmail which=20
works).</FONT></SPAN></DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2>Below,=20
the results of ldd /usr/local/sbin/tpop3d:</FONT></SPAN></DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2>virt01# ldd /usr/local/sbin/tpop3d=20
<BR> libldap.so.2 =
=3D> =20
/usr/local/lib/libldap.so.2<BR> =
=20
liblber.so.2 =3D> =20
/usr/local/lib/liblber.so.2<BR> =
=20
libresolv.so.2 =3D> =20
/usr/lib/libresolv.so.2<BR> =20
libsocket.so.1 =3D> =20
/usr/lib/libsocket.so.1<BR> =
libc.so.1=20
=3D> =20
/usr/lib/libc.so.1<BR> =
libgcc_s.so.1=20
=3D> =20
/usr/local/lib/libgcc_s.so.1<BR>  =
;=20
libnsl.so.1 =3D> =20
/usr/lib/libnsl.so.1<BR> =
libdl.so.1=20
=3D> =20
/usr/lib/libdl.so.1<BR> =
libmp.so.2=20
=3D> =20
/usr/lib/libmp.so.2<BR> =20
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1</FONT></SPAN></DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D111184116-25022002><FONT face=3DArial color=3D#0000ff =
size=3D2>gdb is=20
not on this machine- so I am getting that setup...</FONT></SPAN></DIV>
<DIV> </DIV><BR><BR>
<P><FONT size=3D2><BR>Sincerely,<BR><BR>Michael Klatsky<BR>Senior Unix=20
Administrator<BR>Connecticut Telephone<BR>1 Talcott Plaza<BR>Hartford, =
CT=20
06103<BR>1-860-240-6496 </FONT></P>
<BLOCKQUOTE>
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Prune=20
[mailto:prune@lecentre.net]<BR><B>Sent:</B> Monday, February 25, 2002 =
11:37=20
AM<BR><B>To:</B> Michael Klatsky;=20
tpop3d-discuss@lists.beasts.org<BR><B>Subject:</B> Re: =
[tpop3d-discuss] tpop3d=20
v1.4.1pre4<BR><BR></FONT></DIV>re,<BR><BR>this is really =
weired....<BR>you=20
don't say if you applied the patch ?<BR><BR>In your case it should not =
change=20
anything, anyway.<BR>This is waired as the :<BR>listening on address=20
66.6.65.180, port 110, domain klatsky.com<BR><BR>line is not created =
by the=20
ldap plugin.<BR><BR>could you please do a 'ldd /path/to/tpop3d'<BR>and =
see if=20
every libs are found ?<BR><BR>Do you see something special in =
/var/log/maillog=20
??<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,=20
recompile and give us the result of the 'make' command.<BR>If someone =
this=20
this is beyond the scope of the ML, just mail me=20
private...<BR><BR>Cheers,<BR><BR>Prune<BR><PRE =
wrap=3D""><BR></PRE>Michael Klatsky wrote:<BR>
<BLOCKQUOTE =
cite=3D"mid:7E12B4C2EBE9B544986F8398373C917F3D4A56@rainier"=20
type=3D"cite"><PRE wrap=3D"">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=3DManager,dc=3Dmydomain,dc=3Dcom<BR><BR>auth-ldap-password: =
xxxxxxxxxx<BR><BR>#auth-ldap-filter: =
(uid=3D$(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 =3D 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=3Dmoz-txt-link-freetext =
href=3D"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=3Dmoz-txt-link-abbreviated =
href=3D"mailto:tpop3d-discuss@lists.beasts.org">tpop3d-discuss@lists.beas=
ts.org</A><BR>Subject: Re: [tpop3d-discuss] tpop3d =
v1.4.1pre4<BR><BR><BR><BR><BR>Michael Klatsky wrote:<BR><BR></PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">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=3D""><!---->:<BR></PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">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 =3D 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=3D""><!---->local-<BR></PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">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=3D""><!---->have<BR></PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">missed =
it.<BR><BR></PRE></BLOCKQUOTE><PRE wrap=3D""><!---->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 =3D xstrdup(s);<BR>+ ldapinfo.attr.group =3D =
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>=
</BODY></HTML>
------_=_NextPart_001_01C1BE1B.9BB013B4--