git format-patch - fix the default example ntlm_auth command

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Mon Aug 24 12:48:50 CEST 2009


hi,

attached patch is to stop the server throwing up unlang warnings
about deprecated pattern matching etc when users are running the
default ntlm_auth arguments as set by default....just a simple
change to the expression

alan
-------------- next part --------------
>From deb04ed13b4cfa3d1ee60ff429b8cc637ca2bbac Mon Sep 17 00:00:00 2001
From: root <root at pclinux-ccalmb.lut.ac.uk>
Date: Mon, 24 Aug 2009 11:44:47 +0100
Subject: [PATCH] Signed-off-by: root <root at pclinux-ccalmb.lut.ac.uk>

fixed example ntlm_auth command so that it doesnt throw up unlang warning message
---
 raddb/modules/mschap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/raddb/modules/mschap b/raddb/modules/mschap
index c6cf24e..d2ceec1 100644
--- a/raddb/modules/mschap
+++ b/raddb/modules/mschap
@@ -62,5 +62,5 @@ mschap {
 	# attribute, and do prefix/suffix checks in order to obtain
 	# the "best" user name for the request.
 	#
-	#ntlm_auth = "/path/to/ntlm_auth --request-nt-key --username=%{Stripped-User-Name:-%{User-Name:-None}} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
+	#ntlm_auth = "/path/to/ntlm_auth --request-nt-key --username=%{%{Stripped-User-Name}:-%{User-Name:-None}} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
 }
-- 
1.6.2.5



More information about the Freeradius-Devel mailing list