QA:Testcase adcli info

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Update category)
(Update adcli links)
 
Line 2: Line 2:
 
|description=This test case retrieves basic information about a domain.
 
|description=This test case retrieves basic information about a domain.
 
|setup=
 
|setup=
# Make sure to complete the [[QA:Testcase_adcli:Prerequisites|prerequisites before starting this test]].
+
# Make sure to complete the [[QA:Testcase_adcli_setup|prerequisites before starting this test]].
 
# The domain needs to have proper DNS configuration and the local machine must able to perform DNS resolutions of the domain. See prerequisites.
 
# The domain needs to have proper DNS configuration and the local machine must able to perform DNS resolutions of the domain. See prerequisites.
 
# No domain credentials are needed for this test.
 
# No domain credentials are needed for this test.
Line 24: Line 24:
 
* Use the <code>--verbose</code> argument to provide output when troubleshooting or reporting bugs.
 
* Use the <code>--verbose</code> argument to provide output when troubleshooting or reporting bugs.
  
[[Category:Active_Directory_Test_Cases]]
+
[[Category:Active_Directory_Test_Cases]] [[Category:adcli_Test_Cases]]

Latest revision as of 10:43, 10 April 2013

Contents

Description

This test case retrieves basic information about a domain.

Setup

  1. Make sure to complete the prerequisites before starting this test.
  2. The domain needs to have proper DNS configuration and the local machine must able to perform DNS resolutions of the domain. See prerequisites.
  3. No domain credentials are needed for this test.

How to test

  1. Run adcli to get domain info
    $ adcli info domain.example.com

Expected Results

The output should contain the following information. Substitute as expected for your domain.

  • The full DNS domain-name (like: domain.example.com)
  • The short NetBIOS domain-short (like: DOMAIN)
  • The closest domain-controller (like: dc.example.com)
    • In particular if the domain has multiple sites, then this domain controller should be the one for the site that local machine is a part of.
  • Expected domain-controller-flags
  • Should say domain-controller-usable = yes
  • Should list all the nearby/global domain-controllers
  • Should list the local computer-site for the computer.



Troubleshooting

  • Use the --verbose argument to provide output when troubleshooting or reporting bugs.