Hi Alan, thanks for a quick response, would this how it is suppose to be done:
if (User-Name =~ /^(.*)@(.*)/) { update request { NT-Domain := "staff" } } else { mschap } Thanks in advance Cheers Vikash On Fri, Dec 16, 2011 at 9:31 AM, Alan Buxey <a.l.m.bu...@lboro.ac.uk> wrote: > Hi, > > > +- entering group MS-CHAP {...} > > [mschap] Told to do MS-CHAPv2 for [2]u...@example.com.au with > NT-Password > > [mschap] � � � �expand: --username=%{mschap:User-Name} -> > > --username=[3]u...@example.com.au > > [mschap] No NT-Domain was found in the User-Name. > > [mschap] � � � �expand: --domain=%{mschap:NT-Domain} -> --domain= > > change this ntlm_auth command so tat if mschap:NT-Domain DOESNT exist, then > another is used > > eg > > --domain=%{mschap:NT-Domain:-example.com.au} > > man unlang > > > alan > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html >
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html