passwd(1) fails with permission denied on ldap(1) client using credentialLevel=anonymous

(Doc ID 1003871.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 8 6/00 U1 to 11.1 [Release 8.0 to 11.0]
All Platforms

Symptoms

The passwd(1) command  fails with permission denied on ldap(1) client using credentialLevel=anonymous.

A system has become configured as a ldap(1) client for Naming Services and has become configured to use "anonymous" as credentialLevel.

The configuration file /var/ldap/ldap_client_file resulting from that may look similar to this example:

 

This document shall explain why it is normal to see the passwd(1) command failing in this configuration and it also provides information about configuration changes to get the passwd(1) command working.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms