PATCH: Correct ldaps port number in stock config comments.

Matthew Newton mcn4 at leicester.ac.uk
Sat Apr 14 00:06:18 CEST 2012


Hi,

On Fri, Apr 13, 2012 at 02:36:17PM -0400, Brian Julin wrote:
> This just replaces some wrong port numbers in comments.  This
> incorrect 689 port has also made it onto the wiki, FWIW.

That reminds me - the ldap module config (for both v2.1.x and
master) does not mention the port option, which is needed if you
have to use LDAPS, or plain LDAP on a different port. Another
patch below.

Cheers,

Matthew



diff --git a/raddb/modules/ldap b/raddb/modules/ldap
index 5351a81..4187739 100644
--- a/raddb/modules/ldap
+++ b/raddb/modules/ldap
@@ -42,6 +42,11 @@ ldap {
 	#  every authentication request.
 	ldap_connections_number = 5
 
+	#  Port to connect on, defaults to 389. Setting this to
+	#  636 will enable LDAPS if start_tls (see below) is not
+	#  able to be used.
+	#port = 389
+
 	# seconds to wait for LDAP query to finish. default: 20
 	timeout = 4
 
-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list