12.2 Configuring NNMi to access a directory service
You can configure directory service access in the nms-auth-config.xml file.
- Windows: %NnmDataDir%nmsas\NNM\conf
- Linux: $NnmDataDir/nmsas/NNM/conf
By default, the nms-auth-config.xml file available in this location does not contain the XML elements required for LDAP configuration.
You can manually add all the necessary XML elements to this file by following the instructions in this section.
NNMi places a sample nms-auth-config.xml file in a different location, which can be used for reference.
- Windows: %NnmInstallDir%newconfig\HPOvNnmAS\nmsas\conf
- Linux: $NnmInstallDir/newconfig/HPOvNnmAS/nmsas/conf
- Tip
-
You can also copy the entire <ldapLogin> element from the sample nms-auth-config.xml file,and then make necessary modifications.
For details about the nms-auth-config.xml file, see 12.6 LDAP configuration file reference.
For details about the general structure of a directory service, see 12.3 Directory service queries.
To configure access for the mixed mode, complete the following tasks:
-
12.2.2 Task 2: (Optional) Configure secure communications to the directory service
-
12.2.3 Task 3: Configure user access from the directory service
-
12.2.4 Task 4: Test the user name and password configuration
-
12.2.9 Task 9: Clean up to prevent unexpected access to NNMi
-
12.2.10 Task 10: (Optional) Map the user groups to security groups
To configure access for the external mode, complete the following tasks:
-
12.2.2 Task 2: (Optional) Configure secure communications to the directory service
-
12.2.3 Task 3: Configure user access from the directory service
-
12.2.4 Task 4: Test the user name and password configuration
-
- Note
-
If you plan to store NNMi user groups in the directory service, the directory service must be configured with the NNMi user groups. For details, see 12.4 Directory service configuration for storing NNMi user groups.
-
12.2.7 Task 7: (Configuring for the external mode only) Test the NNMi user group configuration
-
12.2.9 Task 9: Clean up to prevent unexpected access to NNMi
-
12.2.10 Task 10: (Optional) Map the user groups to security groups
- Organization of this section
12.2.2 Task 2: (Optional) Configure secure communications to the directory service
12.2.3 Task 3: Configure user access from the directory service
12.2.4 Task 4: Test the user name and password configuration
12.2.7 Task 7: (Configuring for the external mode only) Test the NNMi user group configuration
12.2.9 Task 9: Clean up to prevent unexpected access to NNMi
12.2.10 Task 10: (Optional) Map the user groups to security groups