realm combination of ntdomain and domain ??
Duane Cox
duanec at mail.illicom.net
Sun Mar 26 03:44:25 CEST 2006
can this be solved with regex ?
If so, where are the docs on freeradius regex?
----- Original Message -----
From: "Duane Cox" <duanec at mail.illicom.net>
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Sent: Saturday, March 25, 2006 8:47 AM
Subject: realm combination of ntdomain and domain ??
> Hello List
>
> I've just replaced our previous radius server with freeRADIUS 1.1.1
> Apparently the previous server had the ability to "trim the username" with
a
> pre "\" and post "@" character
> So if someone passed the User-Name as "NTDOMAIN\\username at domain.com" the
> server would see just "username"
>
> I have the following in radiusd.conf, but this only works for one or the
> other, meaning if only the NTDOMAIN\\ is supplied or if only th
@domain.com
> is supplied.
>
> Is there a solution to get both to work? reading the docs, it states that
> "format - must be 'prefix' or 'suffix'" and can't be both.
>
> radiusd.conf: <snip>
>
> realm domain {
> format = suffix
> delimiter = "@"
> ignore_default = yes
> ignore_null = yes
> }
>
> realm ntdomain {
> format = prefix
> delimiter = "\\"
> ignore_default = no
> ignore_null = yes
> }
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list