17 Apr
2012
17 Apr
'12
7:48 a.m.
Hello, I would like to default reject users who have a "/" or "\" in their username. Often users will misconfigure their machines and Windows will send the host\username, which will never be a valid login here. Where is the best place to do this? I have tried to put this in the users file, but I may not have the correct regex: DEFAULT User-Name =~ /[0-9a-zA-Z\/\\]+/, Auth-Type := Reject My match cases are: host\username host\\username host/username host //username I do not want to sanitize these for the users. Thanks, Dave -- View this message in context: http://freeradius.1045715.n5.nabble.com/users-file-rejex-tp5646378p5646378.h... Sent from the FreeRadius - User mailing list archive at Nabble.com.