>
> -- Found it, but now I have more "issues".
> I am using this to append our realm to the non-realm'd users.
> (As taken from a previous posting found on the list archives)
>
> <snip>
> attr_rewrite add_domain {
> attribute = User-Name
> searchin = packet
> searchfor = "^[a-z0-9_\-]+$"
> replacewith = "@imaginet.co.za"
> ignore_case = yes
> new_attribute = no
> max_matches = 1
> append = yes
> }
> </snip>
>
> Of course this reg-ex has some limitation to it.
> I would like to use something like "!(@)" instead.
> This however to does not work.
>
> Could someone perhaps help our here, as I have no brain for reg-ex.
>
> Thanks a mill.
>
> -Rob
The @ is what the suffix module uses to split the username and realm. You
shouldn't need to add the @ since the Realm will be set at the
new one you just added. Proxy.conf should be able to pick up the Realm
attribute and proxy to the correct place.
Is that not working, or is it that you are really trying to change the
username from name to [EMAIL PROTECTED]
Maybe you could paste some radiusd -X output and let us know where it
seems to be breaking.
-Dustin Doris
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html