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