Project

General

Profile

« Previous | Next » 

Revision 5d28ad6e

Added by Marc Dequènes almost 15 years ago

  • ID 5d28ad6e4da6d7eb3927b9e632bb9ac618d64d41

[evol] added a basic 'create' command, allowing to set fields with a single value to ensure required fields are not missing; btw ensure the objectClass attributetype is never considered as a field

View differences:

lib/ldap_shadows/object.rb
name.strip
end
def has_field?(field)
return false if field.downcase == "objectclass"
has_attribute?(field)
end
def validate_required_ldap_values
_schema = nil
# Make sure all MUST attributes have a value

Also available in: Unified diff