已关闭
bind 升到 9.20 后,samba-tool provision 生成的 named.conf 缺少 DLZ database 行 #211
li_yunq创建于 18 天前关闭于 17 天前
18 天前 将 MrRlu、li_yunq、sunsuwan、Apricity_HW、robert-xingwang 设为负责人
18 天前 添加了label:sig/Networking
openeuler-ci-bot
18 天前 评论:
18 天前 评论:
Welcome To openEuler Community
Hey @li_yunq , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
Contact Guide
If you have any questions, please contact the SIG: Networking ,
and any of the maintainers: @Apricity_HW, @MrRlu, @robert-xingwang, @sunsuwan ,
and any of the committers: @jiangheng12138, @zhongxuan2 .


17 天前 关闭了 issue
17 天前 issue状态由 待办的 改变为 已完成
17 天前 关联了pull request:[sync] PR-322: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
17 天前 关联了pull request:[sync] PR-322: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
17 天前 关联了pull request:[sync] PR-322: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
17 天前 关联了pull request:[sync] PR-322: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
17 天前 关联了pull request:[sync] PR-322: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
17 天前 关联了pull request:[sync] PR-322: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
3 天前 关联了pull request:[sync] PR-326: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
3 天前 关联了pull request:[sync] PR-326: 修复 samba 在 BIND 9.20 下 BIND9_DLZ provision 生成空 DLZ 配置
现象
openEuler-24.03-LTS-SP4 的 bind 版本为 9.20.21-6,samba 版本为 4.19.3-11。
该组合下执行
samba-tool domain provision --dns-backend=BIND9_DLZ,provision 返回成功,但生成的 named.conf 里
dlz "AD DNS Zone"块没有任何 database 行。named 启动后不服务AD 区,DNS 解析失败。
成因
python/samba/provision/sambadns.py的create_named_conf()用named -V的输出生成DLZ 配置。版本检测链只覆盖 BIND 9.8、9.9、9.10、9.11、9.12、9.14、9.16、9.18。
BIND 9.20 不命中任何一条,程序走 else 分支,只输出一条 warning:
八个
bind9_NN变量保持默认值#。模板渲染时 samba 注释掉全部 dlopen 行。修复建议
回移上游提交 3299aee76ac15bcde136d68ed14f59105c49fe94。该提交给 BIND 9.18 分支追加
BIND 9.20 条件,复用已有的
dlz_bind9_18.so。补丁改 2 个文件,加 4 行,删 3 行,不含 C 代码。上游首个包含版本为 4.22.8。
受影响范围
对应 PR:https://gitcode.com/src-openeuler/samba/pull_requests/322