# File lib/active_samba_ldap/account_entry.rb, line 24 def find_by_uid_number(number) options = {:objects => true} attribute = "uidNumber" value = Integer(number) find(:first, :filter => "(#{attribute}=#{value})") end
# File lib/active_samba_ldap/account_entry.rb, line 17 def ldap_mapping(options={}) options = default_options.merge(options) super(extract_ldap_mapping_options(options)) belongs_to :primary_group, primary_group_options(options) belongs_to :groups, groups_options(options) end
Generated with the Darkfish Rdoc Generator 2.