You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NS8 Samba join-domain masks samba-tool failures in tee pipeline #8187
Bash runs the left pipeline component in a subshell, so its assignment to exit_code is lost. The pipeline returns tee's status (usually zero), and non-credential join failures are reported as success. The NS8 module's configure-module/40start_provisioning then may start and advertise a partially provisioned DC. A failed join may leave a stale computer account in the remote AD.
Capture the exit status with PIPESTATUS[0] immediately after the pipeline or another status-preserving pattern, and retain the LDAP insufficient-rights mapping to exit 34. samba-dc/usr/local/sbin/join-member uses a similar pipeline and should be checked as well.
The ns8-samba repository has Issues disabled (HTTP 410), so I am filing this in the NethServer development tracker.
Thanks for the report. The code error is real, but its impact is likely narrow. Please use the bug template next time: this report is missing the steps to reproduce. I'll consider fixing it, with low priority.
The alias DNS record and SPN are never created at first configuration. 40start_provisioning doesn't pass NBALIAS into the provisioning container, so the alias block in join-member never runs. After a successful member join with nbalias=fsalias, there was no fsalias CNAME and no HOST/FSALIAS SPN; only the NetBIOS alias was set. The UI's first-configuration form calls the same action, so UI joins are affected too. The gap has been there since 7ef009c, when the alias feature was added. It's worth its own issue; the likely fix is adding --env=NBALIAS to the provisioning podman run.
Activity
DavidePrincipi commentedon Oct 6, 2026
Thanks for the report. The code error is real, but its impact is likely narrow. Please use the bug template next time: this report is missing the steps to reproduce. I'll consider fixing it, with low priority.
DavidePrincipi commentedon Oct 13, 2026
In Testing 3.5.1-dev.1
Test case
DavidePrincipi commentedon Oct 13, 2026
VERIFIED
Annotation: