Spicer, Kevin (MBLEA it)
2004-Nov-25 20:26 UTC
[Samba] Solaris 9 (sparc), Heimdal kerberos and Samba 3.0.9
Hello, I've been having some problems with compiling samba 3.0 with kerberos support using the heimdal libraries. My problems are the same as those detailed in these two archive posts (one from here, one from elsewhere) http://lists.samba.org/archive/samba/2004-March/082135.html http://www.stacken.kth.se/lists/heimdal-discuss/2004-11/msg00001.html Quick summary: Samba attempts to use both the Heimdal gssapi.h and the Solaris native one, resulting in all sorts of conflicts... It doesn't look like this problem has been adequately fixed yet. I've done some digging and found that this is caused by Samba including rpc.h, which in turn includes rpcsec_gss.h, which then includes Solaris's gssapi.h I finally manage to build by editing include.h and moving the gssapi.h include above the rpc.h include and additionally defining _GSSAPI_H_ so that the solaris native gssapi would ifndef itself out. I'm hoping thats nots going to have any unforseen consequences. I've certainly been able to join the AD domain and authenticate sucessfully. BMRB International http://www.bmrb.co.uk +44 (0)20 8566 5000 _________________________________________________________________ This message (and any attachment) is intended only for the recipient and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete this message immediately. Disclosure, copying or other action taken in respect of this email or in reliance on it is prohibited. BMRB International Limited accepts no liability in relation to any personal emails, or content of any email which does not directly relate to our business.
Seemingly Similar Threads
- Compiling Samba 3.0.9 on Solaris 2.6 gives conflicts :-(
- Solaris 2.6 rpcsec & MIT krb5-1.3.1 header conflict
- Found a bug in the OpsnSSH configuration script
- Compiling Samba3.0.0 on Solaris2.6
- [Bug 10381] New: --acls and --xattrs clash with --delete-missing-args