21 May
2007
21 May
'07
10:57 p.m.
On May 22, 2007 1:52:59 AM +0000 Chris Mikkelson <cmikk@qwest.net> wrote:
On Mon, May 21, 2007 at 04:14:18PM +0200, Alan Dekok wrote:
authorize { ...
if (("%{User-Name}" == "bob") || (5 > 3)) { sql detail ... }
}
Sound useful? :)
Yes, very. It's very clean compared to the alternative of setting Autz-Type, etc. in a users file (our config uses that approach heavily, and it's somewhat ugly; this info really *should* be in the .conf file...).
The advantage of the users file is that you don't need to restart the server to make changes. -frank