The problem is, I tried using %R in my INSERT statement, and all I got was
a NULL value.  Could you suggest the proper way to format the %R so that
the value is extracted during the INSERT.
        Also, I can not figure out the correct way to use the %R in a PreAuthHook.
        Can you tell, I'm new to perl.

Bob Saunders

at 10:25 PM 4/1/00 -0500, you wrote:
>       I would like to save realm information into rows that I have defined in my
>accounting table.  
>       The two new rows are:
>       realm_id
>       realm_type
>       I have been able to get the INSERT to work with no problem, but have
>struggled with parsing the User-Name information, into variables that I can
>then include in my INSERT statement.
>       Specifically, my users have a login that looks like either of the following:
>       MSNH\[EMAIL PROTECTED]
>       MSNM\[EMAIL PROTECTED]
>       In the beginning of the realm section I have re-write rules that remove
>both the prefix and the realm leaving just the login-id.
>       What I would like to do is save the prefix MSNH or MSNM into the
>realm_type and the domain.com into the realm_id.  Then be able to INSERT
>those values into my accounting table.
>       Any suggestions would be greatly appreciated.
>
>Bob Saunders
>ISP Alliance, Inc.
>       
>
>===
>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.
>
>

===
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