On 4/11/06, Matt Sergeant <[EMAIL PROTECTED]> wrote: > On 11-Apr-06, at 2:56 AM, Elliot Foster wrote: > > > I would like to submit another plugin for your consideration. This > > plugin is different from auth_ldap_bind in that it supports CRAM- > > MD5 authentication. The two plugins have different applications > > (mostly due to different security requirements,) but I could put > > some effort into merging the two plugins together if it is so desired. > > Could you connect to the LDAP server just once (in register()) to > save the overhead of doing that for every email in persistent > environments? >
Maybe this needs to be configurable - i.e. in some situations it might be nice to just pull from the LDAP server periodically (i.e. pull the entire user list once every hour, once every day or whatever floats your boat) - other people may need to perform a LDAP look up for each email - so as I see it, this should preferably be configurable. Personally I am all for the periodic pull of valid emails (I have implemented this for exchange 2000, 2003 and lotus notes servers) since this ensures email flow even if the LDAP server is down. -- Lars
