Hi Everyone,

I was wondering what it is that I am missing

We are trying to Pre-Authenticate, based on DNIS, then verify uname/pword in
a flat file, and then write out the stop record to an SQL database.
However, something is not working properly

We've tried numerous combinations of AuthByPolicies and ordering of the
<AUTHBY> clauses.  Basically its set up like this

<AuthBy GROUP>
        AuthByPolicy ContinueUntilReject
                  
      <AuthBy PORTLIMITCHECK>
              CountQuery select count(*) from sesscount where
Client_Port_DNIS='%{Client-Port-DNIS}'
              SessionLimit 1
      </Authby>

      <AuthBy FILE>
               Filename %D/users
      </AuthBy>

        <AuthBy SQL>
                AuthSelect
                ....
        </AuthBy>
</AuthBy>

The port limit works ok, but then we had to add the DNIS phone number into
the users file, to force the nas to request the username/password.

88xxxxxx Password="Ascend-DNIS"
         Ascend-Require-Auth=Require-Auth

That seems to work ok, but the problem occurs when it gets to the SQL
AuthBy.

INFO: Access rejected for 88xxxxxx: Authentication disabled

But, isnt that the point of the AuthSelect being empty, that it will not try
to authenticate from the <AuthBy SQL>. ?

If anyone can point out the error of my ways, I'd be forever grateful.
Well, for 10 minutes anyway :)

        
Regards,

Anton Sparrius
Network Engineer
----------------------------------------------------
VivaNET - The Ultimate Network
----------------------------------------------------
Ph: +61 3 9810 2900
Fx: +61 3 9810 2999
WWW: www.vivanet.com.au 

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