internals:windows:libs:ldap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
internals:windows:libs:ldap [2008/06/02 00:28] – pajoye | internals:windows:libs:ldap [2011/04/06 10:59] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Work in progress. | + | OpenLDAP support |
+ | * olber32 | ||
+ | * oldap32 | ||
- | libldap, libldap_r and liblber can be built now. I did not tested them neither added sasl or openssl support. But that should not be too hard now that the project files are in places (see the source directory in our pecl2 download pages). | + | Our (patched) sources contain |
- | The sln is in build\windows, | + | One important change |
- | I built successfully PHP 5.3 using these libs (static version). If it went well you should see the Version info (in the x.y.z form). | + | #define LDAP_SYSCONFDIR " |
- | Don't forget to replace | + | But that should not be too hard now that the project files are in places (see the source directory |
+ | You can place the include files in openldap\include in php_builds or in the default include in phpbuilds\include (5.2) or in deps\include (5.3+). | ||
+ | |||
+ | 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 to patch the portable.h on line 1102: | ||
+ | |||
+ | #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.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1