class ActiveLdap::Schema::Syntaxes::OID
def validate_normalized_value(value, original_value)
def validate_normalized_value(value, original_value) DN.parse("#{value}=dummy") nil rescue DistinguishedNameInvalid reason = $!.reason if reason _("%s is invalid OID format: %s") % [original_value.inspect, reason] else _("%s is invalid OID format") % original_value.inspect end end