Author: Garhewal Amit
What it is: This is a shell script which can be used to validate the configuration of Domain services for windows.
After successful installation / configuration of domain services for windows, user needs to counter check the configuration which involves Provisioning, getting the kerberos ticket and run rpcclient to know whether domain services are operational. To do this user must run each utility and verify the output.
To avoid running the utility in sequence one after the other , this script runs all the required utilities and provides the user with status of configuration.
Description: This script is consist of three utilities
- provision utility(--locate-dc): This utility validates the DNS configuration. If DNS server is configured properly then it will locate the DNS SRV record for the LDAP domain controller.
- kinit: This utility verify the Security Services are running or not by attempting to acquire Kerberos credentials for Administrator.
- rpcclient: This utility verify whether Domain services are operational or not.
How to use:
Use the below command to run:
sh validate-config.sh admin_passwd
where admin_passwd is administrator password for domain.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.