Hi!

I'm trying to add an attribute to my accounting table in MS SQL, with a
PreAuthHook clause, but it's not working right.  Am I using the wrong
'Hook' clause?

When a user logs in with a "+ppp", then his session will be billable
(Class = "0").  Somehow the attribute Class = "0" is not being added to
his accounting record.

PreAuthHook sub { \
               if (${$_[0]}->get_attr('User-Name') =~ /^+ppp/ ) { \
               ${$_[1]}->add_attr('Class','"0"'); \
               } \
       }

TIA,
Janet



===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to