Problem
The NetBackup 'nbdeployutil --gather' command fails with the error message below.
Error Message
Unable to gather information for the following masters:
Cause
This problem can occur if, during the login process for nbdeployutil, the 'Domain Type' is entered using an incorrect case (i.e. UPPER CASE vs. lower case). Note in the example below that the 'Domain Type' of 'WINDOWS' is case sensitive.
Example of a failure using lower case 'windows' for the Domain Type:
C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdeployutil --gather
NetBackup Deployment Utility, version 8.1.2
Gathering license deployment information...
Discovered master server nbmaster
Enter credentials for Master Server(s):
Master Server:nbmaster
Domain Type (NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap):windows
Domain Name :lab
User Name :administrator
Password :
Data gather is in progress. This process might take some time.
Ensure that the correct credentials are entered or the prerequisite steps for the remote master server are completed.
Rerun nbdeployutil with the gather option on master server nbmaster
Failed gathering for nbmaster, C:\Program Files\Veritas\netbackup\var\global\reports\20190108_110014_nbmaster
Gather DONE
Execution time: 16 secs
Unable to gather information for the following masters:
nbmaster in directory C:\Program Files\Veritas\netbackup\var\global\reports\20190108_110014_nbmaster
Example showing success when using WINDOWS in all UPPER CASE letters:
C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdeployutil --gather
NetBackup Deployment Utility, version 8.1.2
Gathering license deployment information...
Discovered master server nbmaster
Enter credentials for Master Server(s):
Master Server:nbmaster
Domain Type (NIS, NISPLUS, WINDOWS, vx, unixpwd, ldap):WINDOWS
Domain Name :lab
User Name :administrator
Password :
Data gather is in progress. This process might take some time.
Output for nbmaster at: C:\Program Files\Veritas\netbackup\var\global\reports\20190108_110035_nbmaster
Gather DONE
Execution time: 28 secs
Solution
Enter the 'Domain Type' using the correct case.