Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

bug(ci): Samba Kerberos SSO tests failing since 2026-05-30 due to unpinned Docker images

未关闭 适合新手
#60,892 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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

环境准备

从这里开始

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

nextcloud/server 的其他 Issue

查看 nextcloud/server 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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