bearded / ruby-ldap

Ruby/LDAP is an extension library for Ruby. It provides the interface to some LDAP libraries (e.g. OpenLDAP, Netscape SDK and Active Directory). The common API for application development is described in RFC1823 and is supported by Ruby/LDAP.
http://rubyforge.org/projects/ruby-ldap/
Other
66 stars 35 forks source link

[FEATURE][PATCH] On windows, the default ldap library set to wldap32. #5

Closed nazy closed 14 years ago

nazy commented 14 years ago

I think, on windows, ruby-ldap would be better off linking to the wldap32 library by default. Because windows has wldap32 runtime library by default.

PATCH: http://github.com/nazy/ruby-ldap/commit/d85268654d428f0eaf3a9ba289a3e3b796ece4fc

Regards,

ghost commented 14 years ago

Hello, nazy!

Thank you for your patch, it was applied in master, but I'm afraid I cannot test Ruby-LDAP on Windows platform because I simply don't have any available at my service.

nazy commented 14 years ago

Hello, alexey chebotar,

Thank you for accepting my patch.

I've tested it on Windows XP SP3 with ruby 1.9.2 and slapd (on Ubuntu 10.04).

But it has another difficulties to compile it. (Of course I could compiled it and made a binary. http://github.com/downloads/nazy/ruby-ldap/ruby-ldap-0.9.11-x86-mingw32.gem) It needs some tweaks about config.h, rbconfig.h and some files. I'm trying to separate the problems and making another patches for another project.

nazy commented 14 years ago

Hello, alexey chebotar,

I wrote a procedure down the way to compile ruby-ldap on windows. http://github.com/nazy/ruby-ldap/wiki/How-to-compile-ruby-ldap-on-Windows.

ghost commented 14 years ago

Thank for your work, nazy! I have copied pages from your wiki. Page were stored here: http://github.com/alexey-chebotar/ruby-ldap/wiki/How-to-compile-ruby-ldap-on-Windows Please, sorry for late response :(