Cannot resolve UID to username because wrong LDAP schema is being used
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".