Skip to content

samba4: bump to 4.24.3#29877

Open
vortexilation wants to merge 2 commits into
openwrt:masterfrom
vortexilation:4.24
Open

samba4: bump to 4.24.3#29877
vortexilation wants to merge 2 commits into
openwrt:masterfrom
vortexilation:4.24

Conversation

@vortexilation

@vortexilation vortexilation commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

https://www.samba.org/samba/history/samba-4.24.3.html

Removed due to fixed in Makefile:
012-fix-gnutls-version-check.patch

Makefile:
Fixed gnutls sed related things
Fixed compile_et & asn1_compile linkage at build time to fixes build error

Build system: x86/64 musl
Build-tested: x86/64 musl

Build system: x86/64 glibc
Build-tested: x86/64 glibc
Run-tested: x86/64 glibc

📦 Package Details

Description:
Bump into samba version 4.24.3


🧪 Run Testing Details

  • OpenWrt Version: r35210-8614a2ba68
  • OpenWrt Target/Subtarget: x86/64
  • OpenWrt Device: generic x86_64 minipc
    glibc

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

@vortexilation

vortexilation commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

Hmm tests failed with the following errors :

libpam: No executables in the package provided version 1.7.1
libpam: Generic tests failed

I am not sure on how to continue with that vague errors.

@vortexilation

vortexilation commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

@BKPepe
Ping, what do you think? , also does my errors above are known or bugs in tests?, because the errors seems doesn't come from my samba4 package.

[EDIT]
From other PR, seems experiencing the same problem.

@Yang-Wei-Ting

Copy link
Copy Markdown
Contributor

libpam: No executables in the package provided version 1.7.1
libpam: Generic tests failed

libpam is samba4-libs's conditional dependency and requires version check overrides, I can add it if you don't know how to.

@vortexilation

vortexilation commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Yes I have understood it's conditional dependency, please do, so co-authored ?

[EDIT]
Is it like this :

		--with$(if $(CONFIG_PACKAGE_libpam),,out)-pam

@Yang-Wei-Ting

Yang-Wei-Ting commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Here you go Yang-Wei-Ting@4ca5b9c

@vortexilation

Copy link
Copy Markdown
Contributor Author

Ah thanks, will try to include it along in here. I hope it will get approve.

@vortexilation

Copy link
Copy Markdown
Contributor Author

Need someone to run testing this PR, especially on x86_64

@vortexilation

vortexilation commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Run tested runs well, tested with transferring file :

  • OpenWrt Version: r35210-8614a2ba68
  • OpenWrt Target/Subtarget: x86/64
  • OpenWrt Device: generic x86_64 minipc

glibc

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit checks

  • cfa2e1e (samba4: bump to 4.24.3): the diff carries two functional changes not covered by the commit message — the new/enabled SMB security settings in files/smb.conf.template (client ipc min protocol, smb encrypt, server signing, client/server smb encrypt) and the removal of the NONE, prefix from --bundled-libraries in the Makefile. Please either document these in the message or split them out; a version-bump commit should ideally be limited to the mechanics of the bump. See inline comments.
  • b806b43 (libpam: add version check override): message matches the diff; the added test-version.sh follows the in-tree convention (libseccomp/expat). No issues.

Two dimensions (patch header refresh to git am format, cross-arch getinggetting typo fixes) look correct.


Generated by Claude Code

Comment thread net/samba4/Makefile
Comment thread net/samba4/files/smb.conf.template
Comment thread net/samba4/files/smb.conf.template Outdated
vortexilation and others added 2 commits July 9, 2026 13:43
https://www.samba.org/samba/history/samba-4.24.3.html

Removed due to fixed in Makefile:
   012-fix-gnutls-version-check.patch

Makefile:
  Fixed gnutls sed related things
  Fixed compile_et & asn1_compile linkage at build time to fixes build error
  Dropped NONE from bundled-libraries as to fix compilation errors, NONE
  now seems meaning not to bundle any libraries.

smb.conf.template:
  Added SMB2 as default minimum protocol for client, also enabled server
  & client encryption by default. Use smbpasswd -a username to add a
  username & password for samba. To connect into samba from Windows 10
  and above, it need to be done by this guide : https://www.asus.com/support/faq/1054736/ .

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64-glibc

Signed-off-by: Aditya Nugraha <vortexilation@gmail.com>
The libpam helper executables do not report the package version,
causing the generic version probe to fail.

Add a package-specific test-version.sh to skip the version check.

Co-authored-by: Wei-Ting Yang <williamatcg@gmail.com>
Signed-off-by: Aditya Nugraha <vortexilation@gmail.com>

@openwrt-ai openwrt-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changes since my last review (b806b43). The branch was rebased onto current master; the only change to this PR's own files is a trailing-whitespace cleanup on the blank line in net/samba4/files/smb.conf.template, and the samba4: bump to 4.24.3 commit message was expanded to document the smb.conf.template SMB security settings and the Dropped NONE from bundled-libraries change — which resolves the commit-check point from my previous review. No new issues found.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants