Samba3 on OpenIndiana (patch attached)

Gordon Ross gordon.w.ross at
Sun May 8 22:42:36 MDT 2011

On Sat, May 7, 2011 at 10:05 PM, Andrew Bartlett <abartlet at> wrote:
> On Fri, 2011-05-06 at 17:00 -0700, Jeremy Allison wrote:
>> On Fri, May 06, 2011 at 07:58:56PM -0400, Gordon Ross wrote:
>> > > 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.
>> >
>> > Ah, thanks for reminding me about that one. The XXX mark
>> > I left there means I had a question.  I think we need to add an
>> > autoconf test that will define HAVE_GSS_MECH_KRB5 on
>> > _other_ platforms (that will _not_ be found on OpenIndiana).
>> > So I'm not sure what's the right autoconf test to do that.
>> > What library exports that symbol on Linux?
>> Don't know. Guenther or Simo have worked the most
>> on this.
> I don't think a direct 'has symbol' or 'has macro' test will do the
> right thing, but you could write a test that compiles and links - the
> gssapi libs seem free to use macros or symbol names, as long as it
> resolves in the end.
> I highly doubt this OID is truly unavailable, it's probably just a
> matter of getting the right name and library.  It isn't really possible
> to program GSSAPI without this OID.
> Andrew Bartlett
> --
> Andrew Bartlett                      
> Authentication Developer, Samba Team 

Interesting.  Yes, there are several OIDs exported by libgss on
OpenIndiana, but none I can find quite like gss_mech_krb5.
Here is a search showing the closest ones:

The OID you want is here, but not exported by the library:

Do you have any more specific guidance on writing an autoconf test
that answers "does a header or library provide gss_mec_krb5?"


More information about the samba-technical mailing list