Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Using create_pool() with Kerberos

オープン
#381 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
databases

調査の方向性

init_oracle_client() の後の create_pool() パスから始め、続いて報告された行の周辺にある src/oracledb/impl/thick/pool.pyx と src/oracledb/impl/thick/utils.pyx を読みます。指定された Python、プラットフォーム、ドライバー、データベースのバージョンで、externalauth=True と Kerberos を使用して再現します。この認証パスでプールが ORA-24415 を発生させなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement
  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 #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.
主要言語
Python
スター
451
フォーク
118
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oracle/python-oracledb のほかの issue

oracle/python-oracledb の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。