[Ruby-activeldap-discuss] unknown objectClass to LDAP server: inetOrgPerson

Kouhei Sutou kou at cozmixng.org
Wed Apr 25 22:54:44 EDT 2007


Hi,

2007/4/26, Jacob Wilkins <jacob.wilkins at gmail.com>:

> I'm trying to run ActiveLdap against Novell eDirectory 8.7, and I've
> been getting the following error:
>
> /usr/lib/ruby/gems/1.8/gems/ruby-activeldap-0.8.1/lib/active_ldap/object_class.rb:57:in
> `assert_valid_object_class_value': unknown objectClass to LDAP server:
> inetOrgPerson, organizationalPerson (ActiveLdap::ObjectClassError)
> from /usr/lib/ruby/gems/1.8/gems/ruby-activeldap-0.8.1/lib/active_ldap/object_class.rb:33:in
> `assert_object_classes'

Could you show us full backtrace?

> u = User.find(:all,"jwilkins")

Could you show us the entry as LDIF? It will be retrieved by ldapsearch
or other LDAP client.

> I think the problem is in the regex in parse_attributes in schema.rb.

I improved schema.rb a bit in trunk. Could you try trunk?


Thanks,
--
kou


More information about the Ruby-activeldap-discuss mailing list