Re: [AMaViS-user] ldaps and port number

This is a discussion on Re: [AMaViS-user] ldaps and port number within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On Tue, Jun 21, 2005 at 03:45:55PM +0200, Timo Veith wrote: > Hello amavis list readers, > > ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2005
Michael Hall
 
Posts: n/a
Default Re: [AMaViS-user] ldaps and port number

On Tue, Jun 21, 2005 at 03:45:55PM +0200, Timo Veith wrote:

> Hello amavis list readers,
>
> I want to suggest writing a little more about how to setuo a SSL
> connection in the LDAP section of the README.lookups file. It took me a
> considerable amount of time to find out that port 636 (default ssl port
> for ldaps) is not being used, although I specified ldaps://<ip>.
>
> With ldapsearch (from the openldap tools) this is the default behaviour,
> thus I thought it would also be the case with amavisd-new. ldaps didn't
> work until I also specified port 636 explicitly.
>
> This is my proposal:
>
> ,---[ README.lookups ]-----------------------------------------------
>
> ...
>
> Definitions and default values of LDAP parameters.
>
> hostname : The hostname or IP address of the LDAP server to
> connect to. A TCP port may be specified after the
> host name followed by a colon (ex. localhost:389).
> You can also specify a URI, such as:
> 'ldaps://127.0.0.1:666' or
> 'ldapi://%2Fvar%2Frun%2Fopenldap%2Fldapi/'.
> May also be a reference to an array of hosts,
> host:port pairs, or URI's, each will be tried in
> order until a connection is made.
> (Default = 'localhost')
> For ldaps you must specify the port where your ldap
> server listens for SSL connections. Do this within
> the URI or see the next parameter 'port'.
>
> ...
>
> `--------------------------------------------------------------------
>
> Another alternative would be to switch the default port to 636 if someone
> speficies ldaps://...


I've submitted an update to the code to set the default port to 636 if
SSL/TLS (tls => 1) is specified.

--
You may be recognized soon. Hide.

Mike Hall,
System Admin - Rock Island Communications <mikeh@rockisland.com>
System Admin - riverside.org, ssdd.org <mhall@riverside.org>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0