The Active Directory test monitors the amount of time required to connect to the Active Directory service on a Windows system, perform a standard user name/password authentication, and then perform a user-defined query.
Options and Arguments
Active Directory tests require the following specific options and arguments:
Note: As of Service Availability r2.1 IPv6 addresses can be used, but they must be embedded in brackets, for example [0aff::230:6eff:fe4b:51db]:8080. Here 0aff::230:6eff:fe4b:51db represents the IPv6 address and 8080 represents the port number.
You specify these options and arguments when you create or modify tests.
Examples
This section includes examples for monitoring the amount of time to connect to local and remote Active Directory servers.
Example 1: Testing a Local Active Directory Server
Use this example to create a test that monitors the amount of time to connect to the local Active Directory server named ADTest, authenticate the user name adUser and the encoded password, and then query for the term Registered Users on the mylab.com site.
To create a new test in a policy
The New test pane appears.
When you commit the changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{ index=23 type=adir desc="ad_local" dest="ADTEST" username="ADUser" encoded=yes password="bXVyaWM=" args="domain=mylab.com&query=cn=Registered,cn=Users,dc=mylab,dc=com&filter=cn=*" interval=30 samples=1 timeout=10 window=120 tos=0 limit=0 status=active name="Local Active Directory Test" class="" context="" flags="1" loglevel=1 }
Example 2: Testing a Remote Active Directory Server
Use this example to create a test that monitors the amount of time to connect to the remote Active Directory server at 10.0.0.234, authenticate the user name RemoteUser and the encoded password, and then query for the term Guest Users on the testlab.com site.
To create a new test in a policy
The New test pane appears.
When you commit the changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{ index=24 type=adir desc="ad_remote" dest="10.0.0.234" username="RemoteUser" encoded=yes password="bXVyaWMe" args="domain=test.com&query=cn=Guest,cn=Users,dc=testlab,dc=com&filter=cn=*" interval=30 samples=1 timeout=10 window=120 tos=0 status=active name="Remote Active Directory Test" class="" context="" flags="1" loglevel=2 }
For information about errors you may encounter when running Active Directory tests, see Active Directory Test Error Codes.
Copyright © 2013 CA. All rights reserved. |
|