All,

 

I am in the process of setting up a blacklist of access numbers. I would like to use an <AuthBy FILE> instead of  <AuthBy SQL> since my list is so small. Can someone help me with the syntax of the file? So far this is what I have.

 

<AuthBy GROUP>

        IgnoreAccounting

        AuthByPolicy ContinueUntilAccept

        RewriteUsername s/^([^@]+).*/$1/

        <AuthBy FILE>

            NoDefault

            Filename %D/badnumbers

        </AuthBy>

 

# -- User Auth Section ---

       <AuthBy SQL>

            DBSource dbi:Sybase:server=*****

            DBUsername ******

            DBAuth ******

           

            ****************

            ****************

</AuthBy>

     </AuthBy>

 

In the badnumbers file I have the following syntax and I cannot seem to get it to work. Any help would be greatly appreciated.

 

Called-Station-Id = "4356080200" Auth-Type = Reject

Called-Station-Id = "6080200"    Auth-Type = Reject

 

DEFAULT Auth-Type = Accept

 

# --- End of file ---

 

Thanks,

 

Dave

Reply via email to