Ora-01031 Insufficient Privileges connecting with SYSDBA using LDAP Account (Doc ID 1329967.1)

Last updated on APRIL 25, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.
Database sqlplus failed connection with >sqlplus / as sysdba, ORA-01031/ORA-01017


Symptoms

After fresh install of Enterprise Database when trying to connect with an LDAP provisioned account/group that is the owner of the installed technology stack $ORACLE_BASE ie:

>sqlplus / as sysdba

1) a password is prompted for, which should not be the case

2) upon providing password, ORA-01031/ORA-01017 errors are returned

Changes

sqlplus / as sysdba authenticates/validates connecting uid in the /etc/password and /etc/group membership checking for uid membership in dba group or default defined group as specified in $ORACLE_HOME/rdbms/lib/config.s file

For config.s file settings see note:

Troubleshooting ORA-1031 Insufficient Privilege While Connecting As SYSDBA (Doc ID 730067.1)

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