Displaying 2 results from an estimated 2 matches for "local_key".
Did you mean:
local_key64
2006 Apr 07
3
activeLDAP - ldap_mapping - wildcard
...'',''hostObject'', ''person'', ''shadowAccount'',
''posixAccount'', ''postfixAccount'']
has_many :groups,
:class_name => ''Groups'',
:foreign_key => ''memberUid'',
:local_key => ''cn''
end
#this class of Groups work as long as the group is found directly under
"groups"
class Groups < ActiveLDAP::Base
ldap_mapping :dnattr => ''cn'' , :prefix => ''ou=groups'', :classes =>
[''top''...
2006 Mar 26
17
activeldap
...eRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix => ''People'', :classes =>
[''top'',''account'']
#belongs_to :groups, :class_name => ''Groups'', :foreign_key =>
''memberUid'', :local_key => ''uid''
def self.login(username, password)
begin
ActiveLDAP::Base.connect(
:host => "srv1.azapple.com",
:port => 389,
:base => "dc=azapple,dc=com",
:bind_format => "uid=#{username},ou=People,dc=a...