Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Directed Realm Configuration Files

 

This section discusses how to set up the directed realm configuration files.

Sample proxy.ini File

Sample proxy.ini File

The following proxy.ini file registers the proxy realm called sample.com and registers a directed authentication and accounting realm called sample2.com. It defines several directed accounting methods, including those we plan to reference from the sample2.com.pro realm configuration file.

Note

For syntax details, see proxy.ini File.

Note

The user directories must be manually created before restarting or issuing a SIGHUP (1) signal to SBR Carrier.

The following proxy.ini file specifies that otto@rtt.other.com and carol@3g.other.com are both mapped to the other.com directed realm.

The following proxy.ini file specifies that otto@rtt.other.com and carol@3g.other.com are both mapped to the other.com directed realm and that caitlin@groton.other.com is mapped to the groton.other.com directed realm.

Sample Directed Realm (.dir) File

Sample Directed Realm (.dir) File

The following configuration file must be called sample2.com.dir for it to work with the proxy.ini file (described on Sample proxy.ini File).

Note

For syntax details, see Directed Realm Configuration (.dir) File.

This sample file configures both directed authentication and directed accounting. It also strips realm routing information from the User-Name before authentication.

The [Acct Methods] section of this file lists the two accounting methods for the sample2.com realm. These are CustCAcctAttributes, which specifies how to log attributes to a .act accounting log file on the local server, and CustCAcctSQLConfig, which configures accounting to an external SQL database. Both methods are configured in the [DirectedAcctMethods] section of our sample proxy.ini file, above.