I am having issues moving a Python tool I wrote using the Netapp Manageability SDK from the default admin user 'root' to a new user with only specifc Capabilities enabled. As the 'root" user the tool works fine. But any time I change the connection to another user I get the following error:
HTTPPool03:warning]: HTTP XML Authentication failed from xxx.xxx.xxx.xxx
and the API call returns
Authorization failed
Per the KB articles and other posts I have read I have all of the following options on the filer:
httpd.access legacy
httpd.admin.access legacy
httpd.admin.enable on
httpd.admin.hostsequiv.enable off
httpd.admin.ssl.enable on
and I added the login-http-admin capability to the role I created for this tool. The role also contains a list of the api-* capabilities that are required for the tool.
here is how I created the user
useradmin role add tool_role -a login-http-admin,api-volume-list-info,etc....
useradmin group add tool_client_group -r tool_role
useradmin user add user1 -g tool_client_group
I have tried to reset the password a few times.. Even if I set the role Capabilities to login-*,api-* I get the same error so I do not believe its related to Capabilties but then again I feel like I am missing something very simple either in options. or the RBAC to make this work as a less priveledged user.