Is there a way to pass $u (original non-rewritten User-Name attribute) to
an AcctColumnDef within a realm definition that is using RewriteUsername
to strip the realm off? I had hoped RewriteUsername was order-sensitive
but it applies to the entire Realm definition. I played with a few
AcctColumnDefs using "formatted" but couldn't get it.

i.e.:

<Realm ...>
        <AuthBy SQL>
                ...
                ...
                AuthSelect      # Blank, only doing accounting in SQL
                AccountingTable ACCOUNTING
                AcctColumnDef   USERNAME,User-Name,<some way to pass $u
instead of default>
                ...
        </AuthBy>
        RewriteUsername s/^([^@]+).*/$1/
        <AuthBy RADIUS>
                Host ...
                Secret ...
        </AuthBy>
</Realm>

Thanks much!


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to