tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [tpop3d-discuss] tpop3d v1.4.1pre4


From: Michael Klatsky
Subject: RE: [tpop3d-discuss] tpop3d v1.4.1pre4
Date: Mon, 25 Feb 2002 11:43:52 -0500

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:address@hidden
Sent: Monday, February 25, 2002 11:37 AM
To: Michael Klatsky; address@hidden
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:address@hidden]
Sent: Monday, February 25, 2002 11:14 AM
To: Michael Klatsky
Cc: Chris Lightfoot; address@hidden
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]