Samba3 on OpenIndiana (patch attached)
abartlet at samba.org
Sat May 7 20:05:19 MDT 2011
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 configure.in 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 http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical