ssh(1) login to a system fails, and the message "pam_ldap: no legal authentication method configured" does get logged on that system (Doc ID 1532345.1)

Last updated on AUGUST 01, 2016

Applies to:

Solaris Operating System - Version 9 GA to 11.2 [Release 9.0 to 11.0]
Information in this document applies to any platform.

Symptoms

 The ssh(1) login towards a system fails, and the message "pam_ldap: no legal authentication method configured" does get logged in /var/adm/messages on the target system.

Changes

Display the LDAP Name Service client configuration of the system to that you intend to login via ssh(1).There you'll notice the system is configured to use authenticationMethod=none and credentialLevel=anonymous.

Example:

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