|
|
NetApp Manageability SDK OLH - master : Programming Guide : SDK Core APIs : C and C++ Core APIs : Session Management APIs for C and C++
|
|
If style= NA_STYLE_LOGIN_PASSWORD, you must provide an administrator user name and password with na_server_adminuser().
If style= NA_STYLE_RPC, your code should run on the Windows system so that a native Windows authentication based on remote procedure call is used. This is applicable for ONTAP APIs only.
If style= NA_STYLE_HOSTSEQUIV, the server context authenticates the against the /etc/hosts.equiv file on the NetApp storage system. In such a case, you do not have to set the administrator user name and password. This is applicable for ONTAP APIs.
If style =NA_STYLE_CERTIFICATE, you can use certificates to authenticate clients who attempt to connect to a server, without using login credentials. This style automatically sets HTTPS as the transport mechanism. You can use this authentication mechanism for clustered Data ONTAP 8.2 and OnCommand Unified Manager 5.0.2, 5.1, and 5.2.
and na_server_set_hostname_verification().
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
NA_SERVER_TYPE_FILER — to connect to a NetApp storage system.
NA_SERVER_TYPE_DFM — to connect to a OnCommand Unified Manager server 5.2 or earlier.
NA_SERVER_TYPE_OCUM — to connect to a OnCommand Unified Manager server 6.0 or later.
The default server type is NA_SERVER_TYPE_FILER.
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
The default transport type is NA_SERVER_TRANSPORT_HTTP. For secure transport, use NA_SERVER_TRANSPORT_HTTPS as the transport type.
|
||
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) if SSLv3 is enabled
|
|
•
|
0 (FALSE) if SSLV3 is disabled
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
The default value is NA_PRINT_DONT_PARSE, which prints the raw XML output derived from the server by using na_server_get_raw_xml_output.
|
|
If key = NULL, then the certificate file is used as the key file.
|
||
|
The password to access the private key file passwd = NULL if the private key file is not password-protected.
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) if server certificate verification enabled
|
|
•
|
0 (FALSE) if server certificate verification disabled
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
Set enable = 1 to enable hostname certificate verification, and set 0 to disable.
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
1 (TRUE) if hostname verification is enabled
|
|
•
|
0 (FALSE) if hostname verification is disabled
|
|
•
|
1 (TRUE) on success
|
|
•
|
0 (FALSE) on failure
|
|
•
|
Name of the client application if set using na_server_set_application_name()
|
|
Was this topic helpful? Send comments to NetApp.
|
|
Copyright © 2017 NetApp, Inc. All rights reserved.
|