pythongssapi / pythongssapi/python-gssapi

No key table entry found matching HTTP/myspn.domain.local/domain.local@

未关闭
#366 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
116
派生
55
平均合并
1 天 24 分钟
30 天内合并 PR
2

描述

I've been testing this library with a kerberos setup that works using Apache/mod_auth_gssapi . While my krb5.conf and krb5.keytab work with Apache with this library I continually get the following error:

No key table entry found matching HTTP/myspn.domain.local/domain.local@

Notice the domain being appended to the end of the SPN and being blank after the @ sign.

kinit -kt krb5.keytab works fine.

My environment:

  • Python 3.11.2
  • OS: Debian Bookworm

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在 Debian Bookworm 上使用报告中的 krb5.conf 和 krb5.keytab 重现该错误,然后将库的行为与 Apache/mod_auth_gssapi 以及成功执行的 kinit -kt krb5.keytab 命令进行比较。当在此设置下库不再将域名追加到 SPN,且不再将 realm 留空时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
authentication, security
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。