2014-02-19 11:58 PM
I am trying to connect to NetApp using following code
|server = na_server_open(computer.c_str(), 1, 15);|
|na_server_adminuser(server, username, password);|
here username is nothing but a domain user. which is of form DOMAIN\Username.
The computer from which i am executing this code , is using the same login which i have used in the code.
Can I anyhow Impersonate the domain user ?? so that i wont need to supply password through my code.
2014-04-16 01:06 PM
You have to make sure the user have appropriate API privileges on netapp.
"useradmin" command will help you to list those privileges. and you can test
it with "apitest" tool to verify the user account privilege.