28 Dec
2009
28 Dec
'09
4:11 a.m.
Bruce Nunn wrote:
Is this valid syntax for the hints file in version 2.1.7? I intend it to match anything up to and including "\\" such as WINXP\\joeuser.
DEFAULT Prefix =~ "^(.*[\\\\]+)", Strip-User-Name = Yes Hint = "CAMPUS"
Use "unlang". The prefix attribute does string comparisons only. if (User-Name =~ /.../) { update request { Stripped-User-Name = "%{1}" } update control { Hint = "Campus" } } Alan DeKok.