Skip to main content

This Site will be down for up to 3 hours on December 2, 2023 from 8 PM - 11 PM PST, to deploy an infrastructure update.

NetApp Knowledge Base

API calls to ONTAP 9.1-9.3 fail when using a readonly LDAP service account

Last Updated:

Applies to

ONTAP 9.1 - 9.3P7


API calls made to an ONTAP cluster fail when using a readonly LDAP service account

Error output may be returned by the application sending the API to the effect of the following(this exact output from OnCommand Insight):

2019-02-26 13:04:34,920 ERROR [com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource] myCluster [Invalid login credentials] - Failed to authenticate with cluster: ([Device name]: cluster-identity-get; errno: 13003, reason: not authorized for that command)
com.onaro.sanscreen.acquisition.framework.datasource.DataSourceErrorException: Failed to authenticate with cluster:
    at com.onaro.sanscreen.acquisition.framework.datasource.DataSourceErrorException.createWithEnhanced(
    at com.onaro.sanscreen.acquisition.datasource.netapp_cmode.transport.zapi.ZAPIConnection.parseResponseXMLFromZAPIOutput(
    at com.onaro.sanscreen.acquisition.datasource.netapp_cmode.transport.zapi.ZAPIConnection.invokeElem(
    at com.onaro.sanscreen.acquisition.datasource.netapp_cmode.transport.zapi.ZAPIConnection.invokeElem(
    at com.onaro.sanscreen.acquisition.datasource.netapp_cmode.transport.zapi.ZAPIConnection.invokeElem(
    at com.onaro.sanscreen.acquisition.datasource.netapp_cmode.transport.zapi.ZAPIConnection.invokeCommandDesiredAttributes(
    at com.onaro.sanscreen.acquisition.datasource.netapp_cmode.NetAppCModeDataSource.doFoundation(
    at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.runInitClassLoader(
    at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.runNotifyListeners(
    at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.runInitLog(
    at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.runInitRecordingSession(
    at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.runInitThreadName(
    at com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource.runWithProfiler(
    at com.onaro.sanscreen.acquisition.framework.mgmt.DataSourceManager$
    at java.util.concurrent.Executors$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.Throwable: not authorized for that command


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device