emerging samba-3.0.1-r1 fails if your USE contains "-ldap kerberos". kerberos support is required for ADS interaction, but the build will fail because it also requires ldap support in samba. If the kerberos USE is detected while building samba, options associated with the ldap USE flag must be forcable used as well. Cheers.
True dat. I've been meaning to fix that but got lazy I'm afraid. Got a patch? I'm so busy I'm afraid I'll forget all about this again.
Created attachment 25467 [details, diff] proposed patch to samba-3.0.1-r1.ebuild Surely a fix would be as simple as this?
Er, said patch should probably be applied to samba-3.0.2.ebuild, see bug 41191. Kbye.
Hmm, no, Im thinking thats not really correct. Could you work on it some more.... I believe there an existing bug already about this, check my list to find it.
Well, there are two other bugs that deal with this issue: http://bugs.gentoo.org/show_bug.cgi?id=30180 http://bugs.gentoo.org/show_bug.cgi?id=30019 The second was marked as a dup of the first, and I would imagine that this one should be a dup of the first too. Maybe since actual discussion has gone on here, the first should be marked as a dup of this. I'm not sure why you say that my fix is incorrect. There are 4 possible states, USE has kerberos USE has ldap Build with -> dependencies false false nothing none false true ldap ldap true false nothing none true true ldap+ads ldap, kerb excuse the poor ascii table... I hope you get what I'm saying though. The only thing which you might want to change is if USE="kerberos -ldap", then build ads, and introduce the ldap depend. I, personally, would be mighty pissed off as a user though, to see that all of a sudden I'm forced to build ldap. How would I know that I need to -kerberos to get rid of the ldap depend? 2c, fwiw I'm interested to hear why you think that it is incorrect?
Serves right for not reading my own comments... I think your patch is just fine! Applied to samba-3.0.2a.