From Fedora Project Wiki
Description
This test case retrieves basic information about a domain controller and the domain it is a part of.
Setup
- Make sure to complete the prerequisites before starting this test.
- It is not necessary to have complete domain DNS resolution working for this test.
- No domain credentials are needed for this test.
How to test
- Run adcli to get domain controller info. Provide the domain controllers DNS name.
$ adcli info --domain-controller=dc.domain.example.com
- Skip this if you do not have DNS resolution working for the domain controller.
- Do it again but this time with just the domain controller IP address
$ adcli info --domain-controller=10.10.10.10
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 the local
computer-site
for the computer.
Troubleshooting
- Use the
--verbose
argument to provide output when troubleshooting or reporting bugs.