Open GoogleCodeExporter opened 9 years ago
We can't reproduce it without test data...
Original comment by kou...@gmail.com
on 24 Aug 2010 at 11:44
class LdapGroup < ActiveLdap::Base
ldap_mapping :dn_attribute => 'cn' ,
:prefix =>"",
:classes => ['group'],
:excluded_classes => ['computer','user']
has_many :members, :class_name => "LdapUser", :wrap => "member",
:primary_key => "dn", :foreign_key => "dn"
end
class LdapUser < ActiveLdap::Base
ldap_mapping :dn_attribute => 'sAMAccountName' ,
:prefix =>"",
:classes => ['user'],
:excluded_classes => ['computer']
belongs_to :security_groups, :class_name => "LdapGroup", :many => "member",
:primary_key => "dn"
end
>> LdapGroup.find("mygroup").members
this return all members except emembers which has name with accent (é, like
Hervé , Valérie,..)
>> LdapUser.all
return all users without except
activeldap 1.2.1
LDAP : ActiveDirectory
Original comment by helmi.fa...@gmail.com
on 24 Aug 2010 at 1:20
Did you need something else ?
Original comment by helmi.fa...@gmail.com
on 31 Aug 2010 at 7:11
Sorry but could you give us more time?
We had RubyKaigi 2010 at the last weekend. So we didn't have a time to look
into the problem...
If you write a patch for the problem before we look into it, please attach it.
Original comment by kou...@gmail.com
on 31 Aug 2010 at 12:00
Original issue reported on code.google.com by
helmi.fa...@gmail.com
on 23 Aug 2010 at 1:24