(RADIATOR) Priority of DEFAULT in AuthBy File
Hugh Irvine
hugh at open.com.au
Tue Dec 17 22:57:19 CST 2002
Hello Richard -
I think you will have to use cascaded AuthBy clauses to do what you
describe.
Something like this:
# define AuthBy clauses
<AuthBy FILE>
Identifier CheckDefaults
Filename %D/defaults
.....
</AuthBy>
<AuthBy FILE>
Identifier CheckUsers
Filename %D/users
....
</AuthBy>
....
# define Realm(s) or Handler(s)
<Realm ....>
AuthBy CheckDefaults
.....
</Realm>
.....
The files would look like this:
# file %D/defaults
DEFAULT .......
DEFAULT ......
DEFAULT Auth-Type = CheckUsers
......
# file %D/users
someuser Password = .....
......
anotheruser Password = ......
......
etc.....
The first AuthBy file checks your DEFAULT definitions, the last one of
which then calls another AuthBy clause to check the users.
Hope that helps.
regards
Hugh
On Wednesday, Dec 18, 2002, at 15:08 Australia/Melbourne, Richard
Lennerts wrote:
> Hi,
>
> I'd like to be able to use DEFAULT entries in an auth file with the
> same
> priority as "user" entries are.
>
> At the moment Radiator will first look through the file and match the
> first
> existing "user" entry. Only if this rejects or does not exist will it
> then
> go through the list of DEFAULT entries. I would like to be able to get
> Radiator to treat DEFAULT entries on par with "user" entries, meaning
> that
> even if a username existed in the auth file, a previous DEFAULT entry
> could
> be used to authenticate any access-request.
>
> Can this be done?
>
> Regards,
>
>
>
> Richard
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list