Alan- Thanks for the info. I agree that the functionality given the by attr_rewrite function should do the job. My inital explanation was confusing.
Do I need to do anything special besides defining a rewrite function in radiusd.conf to get this to work? I didn't see anything in the FAQ, in the doc/ dir, or on the messageboards. Running radiusd -X seems to show that my function isn't being used or isn't matching correctly, as it's not trying to proxy to the server I have defined in the WISC realm. For example, I'm tryng to replace a non-realm attached username with a name with a realm attached in the User-Name attribute. Here's my config attr_rewrite fixusername { attribute = User-Name # may be "packet", "reply", or "config" searchin = packet searchfor = "mikeh" replacewith = "mdhare@WISC" ignore_case = no max_matches = 1 } -Michael At 04:15 PM 1/16/2002 -0500, [EMAIL PROTECTED] wrote: >Michael Hare <[EMAIL PROTECTED]> wrote: > > Is there currently a way to tack a realm onto a username via the USERS > > file? I can get the functionality I need by having the user specify a > > realm during login, but I'd like this to be transparent to the end user. > > The attr_rewrite module can do some re-writes, but it's not very >flexible. > > > (I'd like to have different users have different authentication methods by > > specifying the realm per user) > > Why? If you know to re-write the username to '@realmX' during the >authentication, and then to use auth-type X for realmX, then you know >which authentication mechanism to use at the start! > > So I don't understand why you need to add on the realm. > > Alan DeKok. > >- >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Michael Hare UW-Madison Network Engineering / Hostmaster WiscNet Network Engineering My phone: 608-262-5236 24-Hour NOC: 608-263-4188 WiscNet: 608-265-6761 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html