I'm having an issue and I can't tell quite where it is at. I have usernames coming in a mac addresses and per a management requirement they want their backend database to have no non-alphanumeric characters in the username field.
I have placed the following code in there for the username rewrite, stolen from other code sections in the same config that do work:
# Realm for Fast Stuff
<Handler Client-Identifier=Fast-Stuff>
RewriteUsername s/\D/g.*/$1/
SessionDatabase SDB-null
AuthLog authlogger
AddToReply Service-Type = Framed-User
<AuthBy GROUP>
AuthByPolicy ContinueUntilAccept
AuthBy Fast-Stuff
</AuthBy>
</Handler>
My AuthBy is AuthFreeRADIUSSQL. Maybe that's part of my issue?
Any suggestions would be appreciated. The all I need to do is strip colons out of the username and pass it through for authentication against the databse which has the username entered with no colons entered in it.
Thanks,
Brandon
_______________________________________________ radiator mailing list [email protected] http://lists.open.com.au/mailman/listinfo/radiator
