Samba3 on OpenIndiana (patch attached)

Gordon Ross gordon.w.ross at
Mon May 16 21:39:23 MDT 2011

On Fri, May 6, 2011 at 7:29 PM, Jeremy Allison <jra at> wrote:
> On Fri, Apr 29, 2011 at 06:23:47PM -0400, Gordon Ross wrote:
>> Hi all,
>> I've been working on making Samba3 build and work better on OpenIndiana.
>> (OpenIndiana is an off-shoot of OpenSolaris  See
>> I'd like Samba to use the native OpenLDAP and MIT Kerberos libs.
>> Attached are some patches to do that.  (relative to git master)
>> It does not build for me without these.  Review appreciated.
> Ok, I checked in something close - but had to comment
> out the definitions of gss_mech_krb5 you added to
> auth/kerberos/gssapi_pac.c as the #ifdef test you
> added #ifndef HAVE_GSS_MECH_KRB5 wasn't defined
> in the tests or the waf build.
> Send me a configure test for them (I did try
> and write one but didn't get it right) and I'll
> add it on asap. Once I've got these right I'll
> add to v3-6-test for the official release.
> Thanks for the help on Solaris Gordon, much
> appreciated.
> Jeremy.

OK, here's an attempt at configure tests to check
for gss_mech_krb5 in the gssapi headers.
Works for me, but needs testing on other systems.

Now, we could  also just remove that work-around
from gssapi_pac.c because I'm adding the missing
gss_mech_krb5 to libgss in OpenIndiana.

That leaves only Solaris needing that work-around,
and I don't speak for the Solaris folks.  As far as
I'm concerned, we can just ditch the work-around.
If you do that, just ignore this patch, and clean up
any remnants of HAVE_GSS_MECH_KRB5.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gss_mech_krb5.diff
Type: application/octet-stream
Size: 3496 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list