I defined my Users class like this:
ldap_mapping :prefix => '', :classes => ["top", "person", "organizationalPerson", "user"], :scope => :sub, :dn_attribute => 'samaccountname'
which works pretty well, except that it also grabs computer accounts. The
classes for computer accounts are like this: ["top", "person",
"organizationalPerson", "user", "computer"]. It's the same as users plus an
additional "computer" objectclass. It would be nice to maybe be able to define
a :filter in the ldap_mapping or be able to make :classes only match the exact
class and not match supersets of the defined classes.
Original issue reported on code.google.com by jdin...@gmail.com on 20 Mar 2012 at 6:11
Original issue reported on code.google.com by
jdin...@gmail.com
on 20 Mar 2012 at 6:11