11.3 SRU 19.5 breaks passwordless on ssh with LDAP authentification

(Doc ID 2329488.1)

Last updated on DECEMBER 07, 2017

Applies to:

Solaris Operating System - Version 11.3 and later
Information in this document applies to any platform.


 Customer is using OpenDJ 2.6 as Ldap server. They use the default ACIs, which not allow "Account Usability access".

The machine had installed Solaris 11.1 SRU 18.5, and, the ssh didn't ask the passwd.

ldapclient genprofile \
-a profileName=default \
-a 'defaultSearchBase=ou=example,o=com' \
-a "defaultServerList=" \
-a "preferredServerList=" \
-a followReferrals=true -a defaultSearchScope=one \
-a bindTimeLimit=10 -a searchTimeLimit=30 -a profileTTL=3600 \
-a credentialLevel=proxy \
-a authenticationMethod=tls:simple \
-a objectclassMap=shadow:shadowAccount=posixAccount \
-a 'serviceSearchDescriptor=hosts:ou=hosts,;ou=hosts,ou=cs,ou=example,o=com' \

After to upgrade the machine to solaris 11.3 SRU 19, the ldap log shows that now "Account Usability Request Control" is required/used by ssh [and pam], if password management is set to server_policy.

ldap server access log and found:

[21/Apr/2017:18:18:05 +0200] CONNECT conn=159300 from= to= protocol=LDAPS
[21/Apr/2017:18:18:05 +0200] BIND REQ conn=159300 op=0 msgID=1 version=3 type=SIMPLE dn="cn=solaris,ou=roles,ou=example,o=com"
[21/Apr/2017:18:18:05 +0200] BIND RES conn=159300 op=0 msgID=1 result=0 authDN="cn=solaris,ou=roles,ou=example,o=com" etime=0
[21/Apr/2017:18:18:05 +0200] SEARCH REQ conn=159300 op=1 msgID=2 base="ou=people,ou=example,o=com" scope=singleLevel filter="(uid=test)" attrs="ALL"
[21/Apr/2017:18:18:05 +0200] SEARCH RES conn=159300 op=1 msgID=2 result=12 message="The request control with Object Identifier (OID) "" cannot be used due to insufficient access rights" nentries=0 etime=0
[21/Apr/2017:18:18:05 +0200] UNBIND REQ conn=159300 op=2 msgID=3
[21/Apr/2017:18:18:05 +0200] DISCONNECT conn=159300 reason="Client Unbind"

6303/1: A p r 2 1 0 7 : 4 8 : 2 3 s s h d [ 6 3 0 3 ] : [ I D
6303/1: 2 9 3 2 5 8 F A C I L I T Y _ A N D _ P R I O R I T Y ] l i
6303/1: b s l d a p : S t a t u s : 1 2 M e s g : L D A P E
6303/1: R R O R ( 1 2 ) : E r r o r o c c u r r e d d u r i n g
6303/1: r e c e i v i n g r e s u l t s . U n a v a i l a b l e
6303/1: c r i t i c a l e x t e n s i o n .\n\0


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