diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-12-30 05:59:43 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-12-30 05:59:43 +0000 |
commit | 34037e2479981073c8289fe51868b29096cc5808 (patch) | |
tree | 5c450d95502f9ab93a3d7b679a55ce28424df7b4 /source3/include | |
parent | bb81e23e176ec7dfe0111b5aa2946a51239ef3b9 (diff) | |
download | samba-34037e2479981073c8289fe51868b29096cc5808.tar.gz samba-34037e2479981073c8289fe51868b29096cc5808.tar.bz2 samba-34037e2479981073c8289fe51868b29096cc5808.zip |
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
(This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 3 | ||||
-rw-r--r-- | source3/include/includes.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index f85de1b1af..9aa9a1b203 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -842,6 +842,9 @@ /* Define if you have the <lastlog.h> header file. */ #undef HAVE_LASTLOG_H +/* Define if you have the <lber.h> header file. */ +#undef HAVE_LBER_H + /* Define if you have the <ldap.h> header file. */ #undef HAVE_LDAP_H diff --git a/source3/include/includes.h b/source3/include/includes.h index 92ac462e1b..3a4c50ab9a 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -385,6 +385,10 @@ #undef HAVE_KRB5 #endif +#if HAVE_LBER_H +#include <lber.h> +#endif + #if HAVE_LDAP_H #include <ldap.h> #else |