Revision 3e7f80c0
Added by Marc Dequènes over 14 years ago
- ID 3e7f80c01ca7c5a2baf5b3ddbf8148e02ea026dc
lib/ldap_shadows/activeldap_fixes.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
# patch for activeldap#26745
|
||
class Base
|
||
# temporary method until active_ldap is fixed: return a DN object (see activeldap#23932)
|
||
def dn_obj
|
||
ActiveLdap::DistinguishedName.parse(self.dn)
|
||
end
|
||
|
||
# temporary method until active_ldap is fixed: return a DN object (see activeldap#23932)
|
||
def self.base_obj
|
||
ActiveLdap::DistinguishedName.parse(self.base)
|
||
end
|
||
|
||
# patch for activeldap#26745
|
||
def collect_modified_attributes(ldap_data, data)
|
||
attributes = []
|
||
# Now that all the options will be treated as unique attributes
|
Also available in: Unified diff
[cleanup] code reorganization