Enabling a virtual attribute
You can enable a virtual attribute using the dsconfig tool.
If you are using dsconfig in interactive command-line mode, you can access the virtual attribute menu from the Standard object menu.
Enabling a virtual attribute using dsconfig interactive mode
Steps
-
To enable a virtual attribute, use
dsconfig.-
Specify the connection port, bind DN, password, and host information.
-
Enter the LDAP connection parameter for your PingDirectory server:
-
For LDAP, enter
1. -
For SSL, enter
2. -
For StartTLS, enter
3.Example:
bin/dsconfig
-
-
-
On the PingDirectory server main menu, enter
oto change the object menu, and then enter the number corresponding toStandard. -
On the PingDirectory server main menu, enter the number corresponding to virtual attributes.
-
On the
Virtual Attribute managementmenu, enter the number to view and edit an existing virtual attribute. -
From the list of existing virtual attributes on the system, select the virtual attribute.
For this example, enter the number corresponding to the
numSubordinatesvirtual attribute. -
On the
numSubordinates Virtual Attribute Propertiesmenu, enter the number to enable the virtual attribute. -
On the
Enabled Propertymenu for thenumSubordinatesvirtual attribute, enter the number to change the value toTRUE. -
On the
numSubordinates Virtual Attribute Propertiesmenu, enterfto apply the changes. -
Verify that the virtual attribute is enabled.
Example:
This example assumes you have configured the group entries.
$ bin/ldapsearch --baseDN dc=example,dc=com "(ou=People)" numSubordinatesResult:
The system returns the following.
dn: ou=People,dc=example,dc=com numSubordinates: 1000