Sun Directory Services 3.1 Administration Guide

To Create a Dynamic Accounting Attribute

  1. Create an LDAP attribute for the connection parameter that you want to record.

    This modifies the schema. See "To Create a New Attribute".

  2. Add the attribute to the list in the radius.mapping file using a text editor.

    Make sure you add it in both the Import section and the Export section of the file. You need to be logged in as root to perform this operation.

  3. Add the attribute to the list in the acctattr file using a text editor.

    You need to be logged in as root.

  4. Restart the dsservd daemon so that the new accounting attribute is logged in the log file and recorded dynamically in remote user entries.

  5. Restart the dsradiusd daemon so that the new mapping file is taken into account.