I do not see an error but you can also fully specify credentials and rman database as follows:

rman target username/password@tnsentry