Skip to content

Oracle upgrade to 19.25 has broken OS authentication #180

@rwagnergit

Description

@rwagnergit

Prior to Oracle 19.25, this works:

`
use DBI;
use DBD::Oracle qw(:ora_session_modes);

$dbh = DBI->connect('DBI:Oracle:', '/', '', {ora_session_mode => ORA_SYSDBA, RaiseError => 1}) or die "Cannot connect to Oracle." . $DBI::errstr . "\n";
$sql = 'select 1 from dual';
($count) = $dbh->selectrow_array ($sql);
printf ("Count = %d\n",$count);
$dbh->disconnect;
`

perl test.pl Count = 1

After applying Oracle patch 36912597 (Oracle 19c Release Update October 2024), which takes the database home to 19.25, the above fails:

perl test.pl DBI connect('','/',...) failed: ORA-01005: null password given; logon denied (DBD ERROR: OCISessionBegin) at test.pl line 4.

I opened an SR with Oracle and they closed it saying they don't support Perl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions