diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-02-26 12:25:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:24 -0500 |
commit | 9fffb6ab5b9eebdc3173ad63b90aec974f18ab53 (patch) | |
tree | 19e233c904732cc87f4e839f0da3ea6280ef93ee /source3/include | |
parent | 52576153670f79014992020cb5179cc51ee0a6b9 (diff) | |
download | samba-9fffb6ab5b9eebdc3173ad63b90aec974f18ab53.tar.gz samba-9fffb6ab5b9eebdc3173ad63b90aec974f18ab53.tar.bz2 samba-9fffb6ab5b9eebdc3173ad63b90aec974f18ab53.zip |
r13693: More Solaris/LDAP fixes from Bjoern <bjoern@j3e.de>
(This used to be commit 7c098ca0ae4c7e11c7100fb09b42ce716beffb56)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 372744c8ea..aef3437d56 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -474,6 +474,12 @@ #if defined(LDAP_SASL_BIND_INPROGRESS) && !defined(LDAP_SASL_BIND_IN_PROGRESS) #define LDAP_SASL_BIND_IN_PROGRESS LDAP_SASL_BIND_INPROGRESS #endif +/* Solaris 8 defines SSL_LDAP_PORT, not LDAPS_PORT and it only does so if + LDAP_SSL is defined - but SSL is not working. We just want the + port number! Let's just define LDAPS_PORT correct. */ +#if !defined(LDAPS_PORT) +#define LDAPS_PORT 636 +#endif #else #undef HAVE_LDAP #endif |