From: Daniel Berger Date: 2005-12-14T04:11:54+09:00 Subject: Re: ruby-ldap: uninitialized constant LDAP::LDAP_CONTROL_PAGEDRESULTS James Hughes wrote: > > I need to use this control, but I can't figure out why this is > happening. This constant is mentioned in ldap.c: > > #ifdef LDAP_CONTROL_PAGEDRESULTS > rb_define_const (rb_mLDAP, "LDAP_CONTROL_PAGEDRESULTS", > rb_str_new2 (LDAP_CONTROL_PAGEDRESULTS)); > #endif > That's a bug. Replace rb_str_new2 with INT2NUM. Regards, Dan