bug(ci): Samba Kerberos SSO tests failing since 2026-05-30 due to unpinned Docker images
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- docker
- 领域
- ci-cd
调研方向
从 .github/workflows/files-external-smb-kerberos.yml 开始,将其中的镜像引用与其他工作流中按 digest 固定的镜像进行比较。检查三个 Samba 测试镜像的拉取情况,以及最后一个通过的提交和第一个失败的提交,以确定需要固定的镜像 digest。完成的标准是工作流使用按 digest 固定的镜像,并且 Samba Kerberos SSO CI 检查通过。
由索引模型根据 Issue 内容生成。
描述
Summary
The Samba Kerberos SSO CI check has been failing on every master merge since 2026-05-30. The failure is not caused by any code change — no DAV, authentication, or SSO-related files changed in the window where it broke.
Failure
Checking that we can authenticate using kerberos: ✔️
Getting test file: ❌
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
<s:message>No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured.
No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is misconfigured.</s:message>
</d:error>
Kerberos ticket acquisition succeeds, but the subsequent WebDAV request fails — the server is not accepting the Negotiate authorization header.
Root cause
The workflow pulls all three test images by floating tag with no digest pin:
docker pull ghcr.io/icewind1991/samba-krb-test-dc
docker pull ghcr.io/icewind1991/samba-krb-test-apache-gssapi:8.4
docker pull ghcr.io/icewind1991/samba-krb-test-client
One of these (most likely samba-krb-test-apache-gssapi:8.4 given the GSSAPI/WebDAV auth failure) was updated around 2026-05-29/30 and broke the test environment.
Last passing run: commit 04668560 (2026-05-29 03:21 UTC)
First failing run: commit b064def8 (2026-05-30 03:18 UTC)
No relevant code changes merged between those two commits.
Fix
Pin the images by digest in .github/workflows/files-external-smb-kerberos.yml, the same way other workflows pin their images (e.g. localstack/localstack@sha256:...).
cc @icewind1991 — these are your images, could you check if samba-krb-test-apache-gssapi:8.4 (or one of the others) was updated recently in a way that would break GSSAPI auth against Nextcloud's WebDAV endpoint?
- 主要语言
- PHP
- 星标
- 36.9k
- 派生
- 5.2k
- 平均合并
- 2 天 5 小时
- 30 天内合并 PR
- 735
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/server 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
0. Needs triage 35-feedback bug feature: external storage
难度 2/5 1-3 小时 新手友好度 75/100
nextcloud/server#64702 · 2 条评论 ·
维护者通常 1 天内回复
-
1. to develop 35-feedback bug feature: encryption (server-side) feature: users and groups
难度 2/5 1-3 小时 新手友好度 70/100
nextcloud/server#64685 · 1 条评论 ·
维护者通常 1 天内回复
-
3. to review
难度 2/5 1-3 小时 新手友好度 78/100
nextcloud/server#64461 · 1 条评论 ·
维护者通常 1 天内回复
-
0. Needs triage 33-feedback bug feature: dashboard feature: files feature: theming needs info
难度 2/5 1-3 小时 新手友好度 78/100
nextcloud/server#64113 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
Awaiting Triage
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
WordPress/two-factor#1008 ·
维护者通常 1 天内回复
-
sync-en
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复