How Do I...
- How to assign IP address to a user?
- How do I control concurrent access?
- How do I log only 'stop' accounting records?
- How do I log current date and time in CSV format?
- How do I see what users are currently connected to a NAS?
- How do I configure ANI or DNIS authentication?
1. How to assign IP address to a user?
ClearBox can assign static IP addresses to users. It is done via
'Reply List'. First, you
need to add the new field to your database, where IP addresses are
stored. They can be stored as integer numbers, but string form is
more handful. Next, you need to add a new item to the Reply
List.
Click '+' button near the list, select 'Attributes by database
query' option and the necessary database from the list. Finally,
input the query command which selects the proper value for a user.
It may be like this:
select 'Framed-IP-Address', UserIPAddress from Users where Name='$u'
2. How do I control concurrent access?
ClearBox allows limiting the number of simultaneous connections
a user may establish. You should have a state server configured. After that you may
either set the limit for a realm (so this limit is for all users
authenticated in this realm) or separately for each user stored in
a database.
In the first case select the realm, switch to 'Authentication'
tab, input the limit number in Maximum number of concurrent
sessions box, then select a configured state server from the
State server ID list.
In the second case there should be a filed in the database,
where the limit number is set. You may check this limit in a
authentication query command using %s key which denotes the number of
sessions already established by the user. The authentication query
may be:
select Password from Users where Name='$u' and Enabled=true and
(MaxCurrentSessions=0 OR MaxCurrentSessions<$s)
3. How do I log only Accounting-Stop records?
You may control, what packets are logged, and what not, for each
accounting method turned on. Select the realm you need to
configure, switch to the 'Accounting' tab and click
'Logged Status Types' button near the proper accounting
method. Check those status types which are to be logged, and click
OK.
4. How do I log current date and time in CSV format?
You may use 'Date' and 'Time' attributes to log
date and time respectively. Just add them to the list of
attributes. These attributes are not standard-defined and are used
by ClearBox internally.
5. How do I see what users are currently connected to a
NAS?
You should have a state server
configured to enable this capability. After that you may query
the state server table using your own tools.
6. How do I configure ANI or DNIS authentication?
You may set these features using 'user name rewriting'. Select
the necessary realm, click Select Attribute button. When the
dialog window is brought up, select Take the user name from
option, then select the proper attribute. Select
'Called-Station-ID' to make called phone number be placed as
a user name. Select 'Calling-Station-ID' for ANI
authentication.
© 2001-2007 XPerience Technologies. www.xperiencetech.com
|