Skip to content

Using create_pool() with Kerberos #381

@CEBasile

Description

@CEBasile
  1. What versions are you using?
    oracledb.version: 2.2.1
    platform.platform: Windows-2016Server-10.0.14393-SP0
    sys.maxsize > 2**32: True
    platform.python_version: 3.12.4
    database version: 19.22.0.0
  1. Is it an error or a hang or a crash?
    Error, same as issue Using create_pool with Oracle Wallet #36 but for Kerberos this time

  2. What error(s) or behavior you are seeing?
    When trying to create a connection pool with externalauth=True (Kerberos in this case) there is an exception complaining about null or missing username.
    File "src\oracledb\impl/thick/pool.pyx", line 152, in oracledb.thick_impl.ThickPoolImpl.init
    File "src\oracledb\impl/thick/utils.pyx", line 446, in oracledb.thick_impl._raise_from_info
    oracledb.exceptions.DatabaseError: ORA-24415: Missing or null username.

  1. Does your application call init_oracle_client()?
    Yes
  1. Include a runnable Python script that shows the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions