# File lib/active_samba_ldap/samba_group_entry.rb, line 69 def gid2rid(gid) gid = Integer(gid) if WELL_KNOWN_RIDS.include?(gid) gid else 2 * gid + 1001 end end
# File lib/active_samba_ldap/samba_group_entry.rb, line 78 def rid2gid(rid) rid = Integer(rid) if WELL_KNOWN_RIDS.include?(rid) rid else (rid - 1001) / 2 end end
Generated with the Darkfish Rdoc Generator 2.