Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560370 - net-fs/samba-4.2.x: addc and system-mitkrb5 flags collides
Summary: net-fs/samba-4.2.x: addc and system-mitkrb5 flags collides
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 561092 (view as bug list)
Depends on:
Blocks: 542462
  Show dependency tree
 
Reported: 2015-09-13 20:04 UTC by Martin Cyr
Modified: 2015-09-22 06:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated REQUIRED_USE (samba-4.2.4-r2.ebuild.diff,389 bytes, patch)
2015-09-21 17:57 UTC, Martin Cyr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Cyr 2015-09-13 20:04:25 UTC
From wscript:135

    if not (Options.options.without_ad_dc or Options.options.with_system_mitkrb5):
        conf.DEFINE('AD_DC_BUILD_IS_ENABLED', 1)

With +addc and +system-mitkrb5, addc is not effective.
Of particular interest to those still hoping for a resolution of #542462.


Reproducible: Always

Actual Results:  
Samba4 client and samba3 server built with a system-wide mit-krb5, but no ActiveDirectory Domain Controller functionality.

Expected Results:  
Samba4 AD DC able setup, using system wide mit-krb5.
Comment 1 Alex Xu (Hello71) 2015-09-20 17:30:51 UTC
upstream does not support this configuration. see https://wiki.samba.org/index.php/MIT_Build and others
Comment 2 Martin Cyr 2015-09-21 17:57:33 UTC
Created attachment 412480 [details, diff]
Updated REQUIRED_USE
Comment 3 Martin Cyr 2015-09-21 17:58:15 UTC
Great link, thanks. I had not seen this. 
There should be a REQUIRED_USE="addc? ( !system-mitkrb5 )" in the ebuild.
Or should it be REQUIRED_USE="system-mitkrb5? ( !addc )", I don't know if one is preferable to the other.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-09-22 06:19:57 UTC
*** Bug 561092 has been marked as a duplicate of this bug. ***
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-09-22 06:25:43 UTC
commit 2b01fa5a6176cda29103183ccecf3f391c27d291
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Sep 22 08:23:48 2015

    net-fs/samba: AD Domain Controller only works with heimdal (bug #560370)

    Package-Manager: portage-2.2.21
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-fs/samba/samba-4.2.4-r1.ebuild | 2 +-
 net-fs/samba/samba-4.3.0.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)