# File lib/active_samba_ldap/samba_account_entry.rb, line 51 def rid2uid(rid) rid = Integer(rid) if WELL_KNOWN_RIDS.include?(rid) rid else (Integer(rid) - 1000) / 2 end end
# File lib/active_samba_ldap/samba_account_entry.rb, line 34 def samba_object_classes if samba4? ["person", "organizationalPerson", "user"] else ["sambaSamAccount"] end end
Generated with the Darkfish Rdoc Generator 2.