* [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos]
@ 2013-12-06 15:24 Lars Wendler
2013-12-06 17:14 ` "Paweł Hajdan, Jr."
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Lars Wendler @ 2013-12-06 15:24 UTC (permalink / raw
To: gentoo-dev; +Cc: dcmwai, samba
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
Hi list,
in [1] we got a bug where was pointed out that it is impossible to use
=net-fs/samba-4* on a system which has dev-libs/openssl[kerberos]
installed.
Long story short, samba-4 hard requires app-crypt/heimdal while
openssl[kerberos] hard requires app-crypt/mit-krb5. Of course both
packages are mutually exclusive as both are their own kerberos
implementation.
The bug reporter suggests to use bundled heimdal from samba-4 which I
would like to avoid if possible.
If anyone knows some better solution please speak up. It is highly
appreciated.
[1] https://bugs.gentoo.org/490872
Kind regards
--
Lars Wendler
Gentoo package maintainer
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos]
2013-12-06 15:24 [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos] Lars Wendler
@ 2013-12-06 17:14 ` "Paweł Hajdan, Jr."
2013-12-06 20:06 ` Eray Aslan
2013-12-06 19:42 ` Diego Elio Pettenò
2013-12-07 16:39 ` lists
2 siblings, 1 reply; 6+ messages in thread
From: "Paweł Hajdan, Jr." @ 2013-12-06 17:14 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 877 bytes --]
On 12/6/13, 7:24 AM, Lars Wendler wrote:
> The bug reporter suggests to use bundled heimdal from samba-4 which I
> would like to avoid if possible.
> If anyone knows some better solution please speak up. It is highly
> appreciated.
It sounds ugly, but I generally lean towards pragmatic solutions: +1 to
have this controlled by a USE flag. I actually suggest system-heimdal
enabled by default (at least it matches a Gentoo convention from several
other packages) than a weird "bi_heimdal" flag (what does "bi" stand for?).
Now for a better solution: make samba also work with MIT Kerberos, and
make OpenSSL work with Heimdal. This can be done at ./configure time of
affected packages, and will likely require patches (I mean upstream here).
One Good first step would be to make sure there are bugs on file
(upstream) for both Samba and OpenSSL.
Paweł
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos]
2013-12-06 17:14 ` "Paweł Hajdan, Jr."
@ 2013-12-06 20:06 ` Eray Aslan
2013-12-06 20:59 ` Timo Gurr
0 siblings, 1 reply; 6+ messages in thread
From: Eray Aslan @ 2013-12-06 20:06 UTC (permalink / raw
To: gentoo-dev
On 06/12/13 19:14, "Paweł Hajdan, Jr." wrote:
> Now for a better solution: make samba also work with MIT Kerberos, and
> make OpenSSL work with Heimdal.
That's a big effort.
If we decide not to serve the bundled heimdal libraries, we can declare
samba4 server components and openssl[kerberos] unsupported.
--
Eray Aslan <eras@gentoo.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos]
2013-12-06 15:24 [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos] Lars Wendler
2013-12-06 17:14 ` "Paweł Hajdan, Jr."
@ 2013-12-06 19:42 ` Diego Elio Pettenò
2013-12-07 16:39 ` lists
2 siblings, 0 replies; 6+ messages in thread
From: Diego Elio Pettenò @ 2013-12-06 19:42 UTC (permalink / raw
To: gentoo-dev@lists.gentoo.org; +Cc: dcmwai, samba
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
On Fri, Dec 6, 2013 at 3:24 PM, Lars Wendler <polynomial-c@gentoo.org>wrote:
> The bug reporter suggests to use bundled heimdal from samba-4 which I
> would like to avoid if possible.
>
If the libraries were to expose the symbols of the embedded heimdal, it
would solve the obvious build problem and create a bigger one at runtime.
Diego Elio Pettenò — Flameeyes
flameeyes@flameeyes.eu — http://blog.flameeyes.eu/
[-- Attachment #2: Type: text/html, Size: 947 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos]
2013-12-06 15:24 [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos] Lars Wendler
2013-12-06 17:14 ` "Paweł Hajdan, Jr."
2013-12-06 19:42 ` Diego Elio Pettenò
@ 2013-12-07 16:39 ` lists
2 siblings, 0 replies; 6+ messages in thread
From: lists @ 2013-12-07 16:39 UTC (permalink / raw
To: gentoo-dev
Lars Wendler schreef op vr 06-12-2013 om 16:24 [+0100]:
> Hi list,
>
> in [1] we got a bug where was pointed out that it is impossible to use
> =net-fs/samba-4* on a system which has dev-libs/openssl[kerberos]
> installed.
>
> Long story short, samba-4 hard requires app-crypt/heimdal while
> openssl[kerberos] hard requires app-crypt/mit-krb5. Of course both
> packages are mutually exclusive as both are their own kerberos
> implementation.
>
> The bug reporter suggests to use bundled heimdal from samba-4 which I
> would like to avoid if possible.
> If anyone knows some better solution please speak up. It is highly
> appreciated.
>
> [1] https://bugs.gentoo.org/490872
>
>
> Kind regards
Hi Lars,
how about enabling the existing mit-krb5 support in Samba? Patch
attached to the bug report.
regards,
Jorg
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-12-07 16:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06 15:24 [gentoo-dev] =net-fs/samba-4* vs. dev-libs/openssl[kerberos] Lars Wendler
2013-12-06 17:14 ` "Paweł Hajdan, Jr."
2013-12-06 20:06 ` Eray Aslan
2013-12-06 20:59 ` Timo Gurr
2013-12-06 19:42 ` Diego Elio Pettenò
2013-12-07 16:39 ` lists
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox