Skip to main content
NetApp Knowledge Base

Cannot resolve UID to username because wrong LDAP schema is being used

Views:
20
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • NFS
  • LDAP

Issue

  • ONTAP cannot resolve Unix user's UID into username
  • ::*> getxxbyyy getpwbyuid -node node-01 -vserver svm1 -userID 4709
      (vserver services name-service getxxbyyy getpwbyuid)
      Error: command failed: Failed to resolve 4709. Reason: Entry not found for "userid: 4709".
    
  • ::*> vserver services access-check authentication translate -vserver svm1 -node node-01 -uid 4709
    
    Vserver: svm1 (internal ID: 3)
    
    Error: Acquire UNIX credentials procedure failed
    [ 2 ms] Using a cached connection to ldaps.contoso.com
    **[ 4] FAILURE: User ID '4709' not found in UNIX authorization
    ** source LDAP.
    [ 4] Failed to get user info for id '4709'
    [ 4] Entry for user-id: 4709 not found in the current source:
    LDAP. Ignoring and trying next available source
    [ 5] Entry for user-id: 4709 not found in the current source:
    FILES. Entry for user-id: 4709 not found in any of the
    available sources
    [ 6] Unable to retrieve UNIX username for UID 4709
    
    Error: command failed: Failed to resolve User ID '4709' to a user name. Reason: "SecD Error: object not found".
    

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.