added internal sasl/gssapi code. This means we are no longer dependent on cyrus-sasl...
[kai/samba.git] / source3 / include / includes.h
index 0ebc09b4500bbfc471361b95111304ff202a1aa4..6a44bf7aa8421094e95afb632c73ccb843529bbc 100644 (file)
 #undef HAVE_LDAP
 #endif
 
-#if HAVE_SASL_H
-#include <sasl.h>
+#if HAVE_GSSAPI_GSSAPI_H
+#include <gssapi/gssapi.h>
+#include <gssapi/gssapi_generic.h>
 #else
-/* we must have sasl to use ldap */
-#undef HAVE_LDAP
+#undef HAVE_KRB5
 #endif
 
 /* we support ADS if we have krb5 and ldap libs */