From Fedora Project Wiki
Description
This test case verifies an Active Directory client is able to discover the NetBIOS name automatically
Setup
- Verify that your Active Directory domain access works, or set a domain up.
- Run through the test case to join the domain.
- For this test case, you would need
sssd-1.10.0-4.fc19.beta1or newer
How to test
- By default, realmd uses the NetBIOS domain name as the SSSD domain name and the full domain name in the
ad_domainparameter. For the test to run correctly, you need to override the SSSD domain name- check the
ad_domainparameter value insssd.conf - open the
sssd.confconfig file - locate the
[domain/YOURNAME]section in the config file and substituteYOURNAMEwith the value of thead_domainparameter - locate the
domains=directive in the config file. It would list the SSSD domain name as well (previouslyYOURNAME). ChangeYOURNAMEto the same name you changed the[domain]section to
- check the
- restart the SSSD
Expected Results
- The full domain name should still be usable for lookups
-
getent passwd Administrator@ad-test.domain.com
-
- Even though the NetBIOS name is not specified in the config file anymore, it should be automatically discovered by the SSSD:
-
getent passwd ad-test\\Administrator
-
- Both cases should also work regardless of the case used.
Troubleshooting
- Raise debugging for both the
nssand thedomainservices- open
/etc/sssd/sssd.conf - put debug_level=10 into the
[nss]and the[domain/DOMAIN_NAME]services - restart the SSSD
- open
- Re-run the testcase above and pass the logs stored in
/var/log/sssd/*.logto the SSSD developers
