From 14407c87e2dcccae1784290e3eb7a2d611516aff Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 30 Dec 2001 05:59:43 +0000 Subject: Make Samba compile on RH 6.2 again. We now include the libber.h file if required, but currently we just don't use ldap. (I'll chase this up). In the meantime, I've moved the ads_status code about, its now in its own file, and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP caused HAVE_ADS to be undefined. (I hope its not too ugly). Andrew Bartlett --- source/include/config.h.in | 3 +++ source/include/includes.h | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'source/include') diff --git a/source/include/config.h.in b/source/include/config.h.in index f85de1b1af1..9aa9a1b203d 100644 --- a/source/include/config.h.in +++ b/source/include/config.h.in @@ -842,6 +842,9 @@ /* Define if you have the header file. */ #undef HAVE_LASTLOG_H +/* Define if you have the header file. */ +#undef HAVE_LBER_H + /* Define if you have the header file. */ #undef HAVE_LDAP_H diff --git a/source/include/includes.h b/source/include/includes.h index 92ac462e1b1..3a4c50ab9a6 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -385,6 +385,10 @@ #undef HAVE_KRB5 #endif +#if HAVE_LBER_H +#include +#endif + #if HAVE_LDAP_H #include #else -- cgit