<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/ruby-ldap/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/ruby-ldap/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 19 Jan 2012 15:05:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ruby-ldap/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Can't install gem on Windows</title><link>https://sourceforge.net/p/ruby-ldap/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tried to install ruby-ldap (version 0.9.12) and get this error message:&lt;/p&gt;
&lt;p&gt;make install&lt;br /&gt;
/usr/bin/install -c -m 0755 ldap.so /usr/lib/ruby/gems/1.8/gems/ruby-ldap-0.9.12/lib&lt;br /&gt;
/usr/bin/install -c -m 644 ./lib/ldap/control.rb /usr/lib/ruby/gems/1.8/gems/ruby-ldap-0.9.12/lib/ldap&lt;br /&gt;
/usr/bin/install: `./lib/ldap/control.rb' and `/usr/lib/ruby/gems/1.8/gems/ruby-ldap-0.9.12/lib/ldap/control.rb' are the same file&lt;br /&gt;
Makefile:130: recipe for target `/usr/lib/ruby/gems/1.8/gems/ruby-ldap-0.9.12/lib/ldap/control.rb' failed&lt;br /&gt;
make: *** [/usr/lib/ruby/gems/1.8/gems/ruby-ldap-0.9.12/lib/ldap/control.rb] Error 1&lt;/p&gt;
&lt;p&gt;Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ruby-ldap-0.9.12 for inspection.&lt;br /&gt;
Results logged to /usr/lib/ruby/gems/1.8/gems/ruby-ldap-0.9.12/./gem_make.out&lt;/p&gt;
&lt;p&gt;I use Windows an CygWin :(&lt;br /&gt;
Are there some paths wrong? Other gems can install smoothly.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aaron Mueller</dc:creator><pubDate>Thu, 19 Jan 2012 15:05:51 -0000</pubDate><guid>https://sourceforge.neta6fb4a163b549ad6294bab4795aff54028b1e22a</guid></item><item><title>LDAP::LDIF.mods_to_ldif fails in ruby1.9</title><link>https://sourceforge.net/p/ruby-ldap/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The following unit test fails with ruby1.9 while works with ruby1.8.7:&lt;/p&gt;
&lt;p&gt;#!/usr/bin/env ruby&lt;br /&gt;
#encoding: UTF-8&lt;/p&gt;
&lt;p&gt;require 'rubygems'&lt;br /&gt;
gem 'test-unit'&lt;br /&gt;
require 'test/unit'&lt;br /&gt;
require 'ldap'&lt;br /&gt;
require 'ldap/ldif'&lt;/p&gt;
&lt;p&gt;p RUBY_VERSION&lt;/p&gt;
&lt;p&gt;def test_ldap_mod_to_ldif&lt;br /&gt;
mod = LDAP::Mod.new(LDAP::LDAP_MOD_REPLACE, "uid", ["tizio", "caio"])&lt;br /&gt;
assert mod&lt;br /&gt;
assert LDAP::LDIF.mods_to_ldif("uid=tizio,ou=people,dc=test,dc=com", mod)&lt;br /&gt;
end&lt;br /&gt;
end&lt;/p&gt;
&lt;p&gt;as far as I can see, it looks it relies on String.respond_to? :each which works on ruby1.8.7 and not in ruby1.9&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 05 Oct 2010 09:14:58 -0000</pubDate><guid>https://sourceforge.net890cf473c8a9c218e8831157f1a7f94319a5e1b0</guid></item><item><title>New patch for LDAP::Mod data corruption</title><link>https://sourceforge.net/p/ruby-ldap/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is a patch to fix the same bug as 1846626, but uses the existing macros to help avoid error.&lt;/p&gt;
&lt;p&gt;This is a significant and pressing problem for any long-running Ruby process which needs to modify LDAP entries.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Aprotim Sanyal</dc:creator><pubDate>Tue, 23 Sep 2008 21:35:39 -0000</pubDate><guid>https://sourceforge.net2d90445c5f2c29e3bc14d1985768d6f949ec00cf</guid></item><item><title>Passwords won't authenticate with special characters like ñ</title><link>https://sourceforge.net/p/ruby-ldap/bugs/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have a situation in which I use LDAP to authenticate my users via active directory. Unfortunately, I believe I've found a bug. When a use submits his username and password he is unable to authenticate successfully because his password has a ñ character in it. I use this code in mexico, US and America, so I'm concerned that I'll have several others running into this problem. Any suggestions for a fix?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 19 Jun 2008 19:21:14 -0000</pubDate><guid>https://sourceforge.netdb429943a49a23868e83f974baec5c221e7201d6</guid></item><item><title>Modify mod_type dangling pointer corruption</title><link>https://sourceforge.net/p/ruby-ldap/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;For valid attribute types, we were experiencing this error message:&lt;br /&gt;
/usr/lib/ruby/1.8/activeldap/base.rb:776:in `write': Could not update LDAP entry: Undefined attribute type (ActiveLDAP::WriteError) &lt;/p&gt;
&lt;p&gt;It looks like mod.c:rb_ldap_new_mod() sets mod-&amp;gt;mod_type (the attribute name) to the address of a string that is passed in.  The caller does not guarantee that this string will be retained, and it is freed.  Depending on the behaviour of subsequent mallocs, mod_type can be overwritten.&lt;/p&gt;
&lt;p&gt;We have had success with the attached patch against Ruby Ldap 0.9.7.  It creates a copy of the string in rb_ldap_new_mod() and frees it in ldap_modify_s rb_ldap_mod_free().&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 08 Dec 2007 02:48:44 -0000</pubDate><guid>https://sourceforge.netf972c5142bb0904de21c9c66a3cc6eb0c5397bfe</guid></item><item><title>schema.rb invalid regular expression line 38</title><link>https://sourceforge.net/p/ruby-ldap/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In ruby-ldap 0.9.7, the file schema.rb contain a regular expression that give the following error when reached.&lt;/p&gt;
&lt;p&gt;Exception `RegexpError' at /opt/local/lib/ruby/site_ruby/1.8/ldap/schema.rb:38 - invalid regular expression; can't use character class as an end value of range: /MUST\s+\(([\w\d_-\s\$]+)\)/&lt;/p&gt;
&lt;p&gt;The error comes from the dash that was added in 0.9.7 in the middle of of the character class in the regex. In the middle that dash mean a character range instead of the dash character. To correct the problem, the dash should be put at the end of the character class regex. So&lt;br /&gt;
[\w\d_-\s\$]&lt;br /&gt;
should become&lt;br /&gt;
[\w\d_\s\$-]&lt;/p&gt;
&lt;p&gt;I'll try to submit a patch.&lt;/p&gt;
&lt;p&gt;More info&lt;br /&gt;
ruby-ldap 0.9.7&lt;br /&gt;
ruby 1.8.6&lt;br /&gt;
Mac OS X 10.4.10&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bidon</dc:creator><pubDate>Tue, 11 Sep 2007 08:19:08 -0000</pubDate><guid>https://sourceforge.neta67aa1e9f9738d5e6465cd711e48834bd4036110</guid></item><item><title>Crashes with BUS ERROR on OS X / intel, when used with rails</title><link>https://sourceforge.net/p/ruby-ldap/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;$ script/console&lt;br /&gt;
Loading development environment.&lt;br /&gt;
&amp;gt;&amp;gt; require 'ldap'&lt;br /&gt;
=&amp;gt; true&lt;br /&gt;
&amp;gt;&amp;gt; LDAP::Conn.open&lt;br /&gt;
(irb):4: [BUG] Bus Error&lt;br /&gt;
ruby 1.8.4 (2005-12-24) [i686-darwin8.8.1]&lt;/p&gt;
&lt;p&gt;However from plain irb, it runs fine. I presume it's clashing with some other code Rails pulls in. Bit of a show-stopper as far as I'm concerned.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 08 Dec 2006 17:50:55 -0000</pubDate><guid>https://sourceforge.net52ed0fce1038ef5fb8ad15ff78669f3867f55c66</guid></item><item><title>LDAP::SCHEMA limitation</title><link>https://sourceforge.net/p/ruby-ldap/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;LDAP::Schema.names(key) cannot get the attributes alias&lt;br /&gt;
informations in the attributeTypes key , because of a&lt;br /&gt;
too restrictive regexp &lt;br /&gt;
(don't see some stupids parenthesis ;) )&lt;/p&gt;
&lt;p&gt;i'have commit an exemple of the method&lt;br /&gt;
LDAP::Schema.alias(at) who could give the list in an Array&lt;/p&gt;
&lt;p&gt;But i think the regexp of names(key) have to be modified&lt;/p&gt;
&lt;p&gt;Friendly, Romain&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Romain GEORGES</dc:creator><pubDate>Wed, 06 Sep 2006 08:26:51 -0000</pubDate><guid>https://sourceforge.net39d992f6de41b8a6c1de24249bf5b93338bbf058</guid></item><item><title>InvalidEntryError exceptions are being obfuscated</title><link>https://sourceforge.net/p/ruby-ldap/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;InvalidEntryError exceptions are being obfuscated by &lt;br /&gt;
another exception:&lt;/p&gt;
&lt;p&gt;`inspect': stack level too deep (SystemStackError)&lt;/p&gt;
&lt;p&gt;This is happening because rb_inspect is being called to &lt;br /&gt;
an invalidated Entry object even when is going to &lt;br /&gt;
complain about it is invalidated.&lt;/p&gt;
&lt;p&gt;if( ! ptr-&amp;gt;msg ){&lt;br /&gt;
rb_raise(rb_eLDAP_InvalidEntryError, "%s is not a &lt;br /&gt;
valid entry", \
STR2CSTR(rb_inspect(obj))); \                     &lt;br /&gt;
}; \&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bogdano Arendartchuk</dc:creator><pubDate>Tue, 05 Sep 2006 17:30:49 -0000</pubDate><guid>https://sourceforge.netd06b172688637a89430fa8de5fb4c51f86f08bd5</guid></item><item><title>Docs should refer about LDAP::Entry lifecycle</title><link>https://sourceforge.net/p/ruby-ldap/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The documentation (the rdoc is the only I've found) is &lt;br /&gt;
not clear about the need to use the entry object only &lt;br /&gt;
inside the block given to conn.search.&lt;/p&gt;
&lt;p&gt;It would be nice if this behavior was mentioned in the &lt;br /&gt;
documentation of conn.search*.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bogdano Arendartchuk</dc:creator><pubDate>Tue, 05 Sep 2006 17:00:32 -0000</pubDate><guid>https://sourceforge.net01d62295e481c6d6908a4985ad2fc82440b36e50</guid></item></channel></rss>