Summary: | [patch] net-fs/samba-4.5.0 (& 4.4) USE=addc solution | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Denis Kaganovich <mahatma> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | davidjw, doug-gentoo, rickv, samba |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
samba-4.5.0-addc.patch
ebuild patch to include bundled heimdal WITHOUT making samba build include things automatically patch to stop the build attempting to use the compile_et from e2fsprogs-libs Attempted (failed) fix to build addc against system heimdal ebuild patch to include bundled heimdal WITHOUT making samba build include things automatically |
Description
Denis Kaganovich
2016-09-17 21:40:03 UTC
Created attachment 446224 [details, diff]
samba-4.5.0-addc.patch
Possible duplicate of bug 591212. Created attachment 455068 [details, diff]
ebuild patch to include bundled heimdal WITHOUT making samba build include things automatically
Created attachment 455070 [details, diff]
patch to stop the build attempting to use the compile_et from e2fsprogs-libs
Created attachment 455072 [details, diff]
Attempted (failed) fix to build addc against system heimdal
Created attachment 455074 [details, diff]
ebuild patch to include bundled heimdal WITHOUT making samba build include things automatically
Unfortunately Denis' version makes the Samba build go into automatic and include any missing dependencies from it's bundled libraries. I've attached a version that only includes the bundled Heimdal. I also corrected the tevent dependency to 0.9.29. I added system-heimdal and internal-heimdal use flags rather than just change the addc behaviour. Also attached is a patch to stop the build trying to use the compile_et from e2fsprogs-libs to compile the error tables leading to a later compile error. Finally I did try to fix the addc compile error against system-heimdal by modifying the 4.2.3-heimdal patch. It got a bit further but then struck another error. The new error referred to an undefined Heimdal error type HDB_ERR_WRONG_REALM. I rebuilt Heimdal with hdb-ldap support but no change, I then searched the Heimdal code for the error type without success. It looks like the samba team have made changes to Heimdal that haven't got into the released version so it looks like if you want addc then you need the bundled Heimdal. Still the same in samba-4.5.2 commit 4e557b9116160c188cd2ca685e69aea4844bf47a Author: Lars Wendler <polynomial-c@gentoo.org> Date: Thu Jan 19 03:15:30 2017 net-fs/samba: Bump to versions 4.5.4 and 4.6.0_rc1 Added possibility to build AD Domain Controller against bundled heimdal. Thanks to Denis Kaganovich and David Williams for providing patches in Gentoo bug #594130. Package-Manager: Portage-2.3.3, Repoman-2.3.1 Reopening as I got reports that samba automatically prefers system-heimdal over bundled heimdal if app-crypt/heimdal is installed. Can you guys please look into this? Should no longer be an issue... |