[tpop3d-discuss]ldap problems

Chris Lightfoot chris at ex-parrot.com
Sun, 13 Jun 2004 12:26:50 +0100


On Sun, Jun 13, 2004 at 09:27:03PM +1000, Cameron Gregg wrote:
> Chris Lightfoot wrote:
> 
> >On Sun, Jun 13, 2004 at 07:10:28PM +1000, Cameron Gregg wrote:
> >
> >>Hi All,
> >>
> >>forgive my newbiness, but I'm puzzled over setting up tpop3d to connect 
> >>to ldap.
> >>
> >>Platform: Solaris 8
> >>tpop3d version: 1.5.3
> >>openldap version: 2.1.30
> >>
> >>the error I am getting:
> >>
> >>Jun 13 18:14:46 quarto tpop3d[9821]: [ID 702911 mail.error] 
> >>try_ldap_connect_bind: ldap_simple_bind_s: Protocol error
> >>Jun 13 18:14:46 quarto last message repeated 2 times
> >
> >
> >Unfortunately that error isn't very specific. The OpenLDAP
> >documentation glosses it, entirely unhelpfully, as `A
> >protocol violation was detected'.
> >
> >Is there any chance you could look at the traffic between
> >tpop3d and the LDAP server with sniff/tcpdump/ethereal?
> >
> 
> Can you give me any hints on how to view packets coming from tpop3d?
> 
> the following produces no output, which indicates it's not even getting 
> to the point of connecting.
> 
> # /usr/local/sbin/tcpdump -vv host 192.168.30.5 and tcp dst port 389
> 
> btw, both openldap and tpop3d are on the same box.

-- try running tcpdump on the loopback interface (-i lo,
probably); also, check that it sees traffic if you
manually connect to the ldap server on the same url you've
given tpop3d.

-- 
... nothing you will ever do in that car will ever be as cool as when a
courier buddy of mine wrote, in his own blood, on the door of the car that ran
him down, ``LEARN TO DRIVE ASSHOLE.'' (Mike Linkovich, `How Do Drivers Suck?')