Summary: | net/samba45: OPTIONS AD_DC needs to always conflict with OPTIONS GSSAPI_MIT | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Phillip R. Jaenke <prj> |
Component: | Individual Port(s) | Assignee: | Timur I. Bakeyev <timur> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | CC: | rene |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(timur) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Phillip R. Jaenke
2017-03-26 14:54:22 UTC
Can you, please, describe how did you hit this problem? Samba4* ports are compiled with the bundled Heimdal Kerberos libraries, you need to take special measures and alter the port to compile against MIT Kerberos. One would think that, right? Sadly, no such luck; based on the errors I got, it definitely got contaminated. As to how, it was via /etc/make.conf: SAMBA4_PORT=net/samba45 DEFAULT_VERSIONS+=samba=4.5 DEFAULT_VERSIONS+=ssl=openssl WANT_OPENLDAP_SASL=yes OPTIONS_SET+=WANT_OPENLDAP_SASL OPTIONS_SET+=GSSAPI GSSAPI_MIT GNUPG2 That was enough to somehow end up contaminated (possibly via another port) resulting in unexpected breakage. Rebuilding now with OPTIONS_SET+=GSSAPI_HEIMDAL to confirm that behaves better. Is this still relevant for Samba 4.6 and higher? Not sure can this be considered as a fix, but as of Samba 4.8 you can compile it with the GSSAPI_MIT. |