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 | 14407c87e2dcccae1784290e3eb7a2d611516aff (patch) | |
tree | daf2ac0335bcd767aac05350f4cf5407ca360fa5 /source/include | |
parent | fffae94dd5699f44c0b1c8081587deafd89b3fc0 (diff) | |
download | samba-14407c87e2dcccae1784290e3eb7a2d611516aff.tar.gz samba-14407c87e2dcccae1784290e3eb7a2d611516aff.tar.xz samba-14407c87e2dcccae1784290e3eb7a2d611516aff.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
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/config.h.in | 3 | ||||
-rw-r--r-- | source/include/includes.h | 4 |
2 files changed, 7 insertions, 0 deletions
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 <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/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 <lber.h> +#endif + #if HAVE_LDAP_H #include <ldap.h> #else |