09-08-2014 11:27 AM
I'm trying to get my login to were it's allowed to run commands from cron/bp_start_notify run scripts, but the command to use is giving me an error for which I cannot find any solution for. In fact I'm having a hard time finding any real documentation on this command:
$ /usr/openv/netbackup/bin/goodies/nbac_cron -setupCron This application will now create your cron and/or at identity. Authentication Broker: masterservername.domain.com Name: myuserid Password: [masked] One or more of Name, Password and domain are incorrect
I'm running 7.6.0.3 on RedHat 6.4. I'm able to use the "bpnbat -login" command just fine with the same credentials used in the above command.
Thanks in advance for any help.
Solved! Go to Solution.
10-14-2014 10:13 AM
After a couple of support cases, and some addtional trial and error, I've created my own documentation:
http://worldhistory.spaldam.com/index.php?title=Authentication_Services_for_NetBackup#Account_Expiration
09-08-2014 10:27 PM
Just an idea, is the current user you "bpnbat -login" as an "NBU_Security Admin"?
If so, I would enable the vxatd log level to see if it helps producing any useful message:
vxlogcfg -a -p NB -o 18 -s DebugLevel=6
But I am still not familiar with looking at nbatd logs, might want to call support if if necessary.
09-09-2014 09:28 AM
Yes, it is an "NBU_Security Admin", but the account I ultimatly need to be able to run automated scripts is probably going to be setup in a custom "read-only" group.
10-14-2014 10:13 AM
After a couple of support cases, and some addtional trial and error, I've created my own documentation:
http://worldhistory.spaldam.com/index.php?title=Authentication_Services_for_NetBackup#Account_Expiration
10-14-2014 10:36 AM
It still doesn't work as required, because the authentication is only valid for 24 hours and then has to be setup again.
Even using the "vssat" command to change the timeout period - even if that worked, which it doesn't - you can't change it just for the cron user; it affects all users equally.
I think this needs to go back to engineering to be fixed.