6 messages in net.sourceforge.lists.courier-users[courier-users] Re: authdaemond and ldap
FromSent OnAttachments
Brian CandlerDec 4, 2000 10:51 am 
Sam VarshavchikDec 4, 2000 2:56 pm 
Brian CandlerDec 5, 2000 4:25 am 
Brian CandlerDec 5, 2000 8:18 am 
Brian CandlerDec 5, 2000 4:34 pm 
Brian CandlerDec 6, 2000 11:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: authdaemond and ldapActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Dec 4, 2000 2:56:43 pm
List:net.sourceforge.lists.courier-users

Brian Candler writes:

Something strange going on here.

I am throwing a load of POP3 sessions at Courier's POP3 server using 'rabid': http://www.coker.com.au/postal/

I am running courier-0.29.1 with authdaemond.ldap (with its default 5 processes spawned off)

Now, I was under the impression that authdaemond was supposed to open one connection to the LDAP server and keep it open; however once rabid is running (from a different machine) I quickly get several thousand sockets in the TIME_WAIT state to port 389 on my LDAP server (also a different machine)

Running 'ktrace' on one of the authdaemons shows it reading and writing to one fd without closing and opening it. So what else could be bringing up and tearing down LDAP sessions?

Do you have authenticated bind option set? That option offloads the job of validating the password to the LDAP server, by taking the dn and password, and binding then unbinding as that dn.