2009-10-27 10:18 AM - last edited on 2014-09-26 03:21 PM by peluso
I'm trying to use host-based authentication (h
osts.equiv), but it's failing. I get the error:
"User does not have capability to invoke API quota-report."
If it's not clear, there are two spaces after 'User', as if it were printing a null username. Sure enough, from the log:
Tue Oct 27 11:44:14 CDT [near19: useradmin.unauthorized.user:warning]: User '' denied access - missing required capability: 'api-quota-report'
Am I missing something?
2009-10-27 10:41 AM
Already trying that:
I thought perhaps it was because we do not have a user explicitly specified in our hosts.equiv file, but adding another line which explicitly specifies root doesn't change anything.
I've tried it on two filers, one running 7.2.2 and one running 7.3P6.
2009-10-27 11:20 AM
I tried adding the ip instead of the hostname to the hosts.equiv
file, just in case that was the problem, but got the same result:
<results status="failed" reason="User does not have capability to invoke API system-get-version." errno="13003"></results>
Failed: User does not have capability to invoke API system-get-version.
Is there any sort of additional debugging I could enable?
2009-10-27 11:53 AM
I see this in logs/ems:
<LR d="27Oct2009 13:50:33" n="jackson-960" t="1256669433" id="1250085766/25568" p="4" s="OK" o="api_mpool_00" vf="">
Adding " root" to hosts.equiv didn't change anything. It looks like the problem is that it's not picking up the username for some reason. Is there some way to see if it's actually being sent?
2009-10-27 12:10 PM
It is quite difficult to debug this way. Try using zexplore to check things out. Meanwhile, can you send me the piece of code and the hosts.equiv file that you are using. Let me try that out and get back to you.