CA SiteMinder® Federation Standalone automatically creates an audit log, smaccess.log, located in the directory federation_install_dir/logs/server. This log remains empty until you enable logging for authentication events or authorization events, or both, using the XPSConfig command.
Note: XPSConfig is case-sensitive on UNIX platforms.
To enable audit logging
The Product Menu is displayed.
The list of parameters with their current values is displayed.
At the Enter Filter prompt enter report to find all the settings related to audit log.
Specifies the log settings for authentication events.
Specifies the log settings for authorization events.
1 = log all events
2 = log only rejection events
Audit logging is enabled.
Note: You can repeat this procedure at any time to update the settings for the audit log settings.
The default name for the audit log is smaccess.log, and the default location is federation_install_dir/logs/server. You can change these values.
Follow these steps:
Note: XPSConfig is case-sensitive on UNIX platforms.
The Product Menu is displayed.
The list of parameters and their values is displayed.
At the Enter Filter prompt enter text to find the setting related to audit log text file name.
The current value is displayed.
The new file name and location is saved.
You can use an ODBC database to record audit data instead of the default text file.
Follow these steps:
The audit log is in text format, by default. To store audit data in an ODBC database, change the storage type of the log.
Important! If you change the audit log storage type from TEXT to ODBC, you cannot change it back.
Follow these steps:
Note: XPSConfig is case-sensitive on UNIX platforms.
The Product Menu is displayed.
The list of parameters and their current values is displayed.
At the Enter Filter prompt enter store to find all the settings that are related to the audit log storage type.
The current value is displayed.
Note: Include the colon in the entry.
Note: Enter f to filter the list of settings. At the Enter Filter prompt, enter Db to find all the settings related to audit log database.
Specifies the data source user name for the audit log.
Limits: A string; only applies when LogStoreNamespace is set to ODBC:.
Specifies the data source user password for the audit log.
Limits: A string; only applies when LogStoreNamespace is set to ODBC:.
Specifies the data source name for the audit log.
Limits: A string; only applies when LogStoreNamespace is set to ODBC:.
Specifies the maximum number of connections to the data source for the audit log.
Default: 15
Limits: Must be an integer; only applies when LogStoreNamespace is set to ODBC:.
Specifies whether the audit log will use the same ODBC data source as the policy store.
Default: FALSE
Limits: TRUE or FALSE; only applies when LogStoreNamespace is set to ODBC:.
ODBC requires that you configure a data source for the MS SQL Server wire protocol.
To create the data source on Windows
The ODBC Data Source Administrator appears.
System data source settings appear.
The Create New Data Source dialog appears.
The ODBC SQL Server Wire Protocol Driver Setup dialog appears.
Example: CA SiteMinder® Federation Standalone Data Source.
Note: Take note of your data source name. This information is required as you configure your database as a policy store.
The connection settings are tested and a prompt appears specifying that the connection is successful.
The SQL Server data source is configured and appears in the System Data Sources list.
The CA SiteMinder® Federation Standalone ODBC data sources are configured using a system_odbc.ini file, which you create by renaming sqlserverwire.ini, located in federation_install_dir/siteminder/db, to system_odbc.ini. This system_odbc.ini file contains all of the names of the available ODBC data sources as well as the attributes that are associated with these data sources. This file must be customized to work for each site. Also, you can add additional data sources to this file, such as defining additional ODBC user directories for CA SiteMinder®.
The first section of the system_odbc.ini file, [ODBC Data Sources], contains a list of all of the currently available data sources. The name before the “=” refers to a subsequent section of the file describing each individual data source. After the “=” is a comment field.
Note: If you modify of the first line of data source entry, which is [CA SiteMinder® Data Source], take note of the change because you will need this value when configure your ODBC database as a policy store.
Each data source has a section in the system_odbc.ini file describing its attributes. The first attribute is the ODBC driver to be loaded when this data source is used by CA SiteMinder®. The remaining attributes are specific to the driver.
Adding a MS SQL Server Data source involves adding a new data source name in the [ODBC Data Sources] section of the file, and adding a section that describes the data source using the same name as the data source. You need to change the system_odbc.ini file if you create a new service name or want to use a different driver. You should have entries for the Oracle or SQL drivers under [CA SiteMinder® Data Source].
Again, to configure a MS SQL Server data source, you must first create a system_odbc.ini file in the federation_install_dir/siteminder/db directory. To do this, you need to rename sqlserverwire.ini, located in federation_install_dir/siteminder/db, to system_odbc.ini.
Create an ODBC data source for an Oracle database.
Follow these steps:
The ODBC Data Source Administrator appears.
The Create New Data Source dialog appears
The ODBC Oracle Wire Protocol Driver Setup dialog appears. The General tab is pulled to the front.
Note: Record this name. You will need the data source name when pointing the Policy Server to the database.
Note: The service name is specified in the tnsnames.ora file. The SID is the system identifier for the database instance. The tnsnames.ora file contains service names and details that Oracle uses to identify and connect to Oracle instances.
Example: if the tnsnames.ora file contains the following entry for an Oracle instance, you enter instance1 in the SID field:
instance1 =
(Description= (Address = (PROTOCOL = TCP)(Host = myhost)(Port=1521)) (Connect_DATA_ = (SID = SIDofinstance1)) )
The connection settings are tested and a prompt appears specifying that the connection is successful.
The Oracle data source is configured for the wire protocol driver.
The CA SiteMinder® ODBC data sources are configured using a system_odbc.ini file, which you create by renaming oraclewire.ini, located in federation_install_dir/siteminder/db, to system_odbc.ini. This system_odbc.ini file contains all of the names of the available ODBC data sources as well as the attributes that are associated with these data sources. This file must be customized to work for each site. Also, you can add additional data sources to this file, such as defining additional ODBC user directories for CA SiteMinder®.
The first section of the system_odbc.ini file, [ODBC Data Sources], contains a list of all of the currently available data sources. The name before the “=” refers to a subsequent section of the file describing each individual data source. After the “=” is a comment field.
Note: If you modify of the first line of data source entry, which is [CA SiteMinder® Data Source], take note of the change because you will need this value when configure your ODBC database as a policy store.
Each data source has a section in the system_odbc.ini file describing its attributes. The first attribute is the ODBC driver to be loaded when this data source is used by CA SiteMinder®. The remaining attributes are specific to the driver.
Adding an Oracle Data source involves adding a new data source name in the [ODBC Data Sources] section of the file, and adding a section that describes the data source using the same name as the data source. You need to change the system_odbc.ini file if you create a new service name or want to use a different driver. You should have entries for the SQL Server or Oracle drivers under [CA SiteMinder® Data Source].
Again, to configure an Oracle data source, you must first create a system_odbc.ini file in the federation_install_dir/siteminder/db directory. To do this, you need to rename oraclewire.ini, located in federation_install_dir/siteminder/db, to system_odbc.ini.
|
Copyright © 2014 CA.
All rights reserved.
|
|