MS-CHAP modules

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Fri Jan 27 10:38:16 CET 2017


Hi,
> I just installed 3.0.12 and I'm testing the default and inner-server virtual

i'd take 3.0.x from head as its 3.0.13 - with several little bugs fixed - unless you 
want to wait for 3.0.13

> 
> servers. Would someone tell me/point me to the documentation that shows me
> 
> how I would call different MS-CHAP modules in the inner-tunnel virtual server.


take your mschap module and copy it, give it a new instance name (in the file
itself...the filename not important for function)


eg

file 1

mschap mschap-norealm {
rest of config here
}


file 2

mschap mschap-realm {
rest of config here
}


then, in the inner-tunnel just call eg 

	#  MSCHAP authentication.
 	Auth-Type MS-CHAP {
	
                if("%{User-Name}" =~ /@/) {
                    mschap-realm {
                      ok = return
                    }
                }
                else {
                  mschap-norealm {
                    ok = return
                 }
                }
	}


alan


More information about the Freeradius-Users mailing list