internals:windows:libs:ldap
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
internals:windows:libs:ldap [2008/06/01 23:06] – created pajoye | internals:windows:libs:ldap [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Work in progress. | + | For PHP suitable sources and up-to-date information see [[https:// |
- | libldap, libldap_r and liblber can be built now. I did not tested them neither added sasl or openssl | + | OpenLDAP |
+ | * olber32 | ||
+ | * oldap32 | ||
- | The sln is in build\windows, | + | Our (patched) sources contain project files for VC8/9. OpenSSL |
+ | |||
+ | One important change is to keep the default sysconf directory. Open ldap_config.h from the include directory and change the LDAP_SYSCONFDIR definition line to: | ||
+ | |||
+ | #define LDAP_SYSCONFDIR " | ||
+ | |||
+ | But that should not be too hard now that the project files are in places (see the source | ||
+ | |||
+ | You can place the include files in openldap\include in php_builds or in the default include in phpbuilds\include | ||
+ | |||
+ | For PHP usages, the following preprocessor option must be set: | ||
+ | |||
+ | /D LDAP_DEPRECATED=1 | ||
+ | |||
+ | TODO: remove deprecated API usage in ext/ldap | ||
+ | |||
+ | For VC9, it is necessary | ||
+ | |||
+ | #if _MSC_VER >= 15000 | ||
+ | /* define to snprintf routine */ | ||
+ | #define vsnprintf _vsnprintf | ||
+ | #endif | ||
+ | |||
+ | For VC6, the following option has to be added to the linker: | ||
+ | |||
+ | / | ||
+ | |||
+ | The latest patched sources available in our repository contain the project files for VC6/8/9. Only the configurations " |
internals/windows/libs/ldap.1212361615.txt.gz · Last modified: 2017/09/22 13:28 (external edit)