# File lib/active_ldap/schema/syntaxes.rb, line 130 def type_cast(value) return nil if value.nil? DN.parse(value) rescue DistinguishedNameInvalid value end