Revision 6d235fb6
Added by Marc Dequènes over 13 years ago
- ID 6d235fb6a566acaa0da7fc1704f820be1d02ecc1
lib/ldap_shadows/manipulation_helper.rb | ||
---|---|---|
def self.interpret_field_value(shadow, syntax, val)
|
||
case syntax
|
||
when "1.3.6.1.4.1.1466.115.121.1.12"
|
||
raw_item = ActiveLdap::Base.find(:first, :base => val, :scope => :base)
|
||
raw_item = Elements::ExternalLdapObject.find(:first, :base => val, :scope => :base)
|
||
LdapShadows::Manipulation.raw_item_info(shadow, raw_item, val.to_s)[:name]
|
||
else
|
||
val
|
Also available in: Unified diff
[fix] ensure DNs outside the current base DN are handled properly