27 Dec
2009
27 Dec
'09
2:06 p.m.
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" Thanks.
28 Dec
28 Dec
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.
6036
Age (days ago)
6037
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alan DeKok -
Bruce Nunn