Class: PuavoRest::SambaGroup
- Inherits:
-
LdapModel
- Object
- LdapModel
- PuavoRest::SambaGroup
- Defined in:
- resources/samba_groups.rb
Constant Summary
Constant Summary
Constants inherited from LdapModel
LdapModel::ESCAPES, LdapModel::ESCAPE_RE, LdapModel::KRB_LOCK, LdapModel::PROF
Instance Attribute Summary
Attributes inherited from LdapModel
#ldap_attr_store, #serialize_attrs
Class Method Summary (collapse)
-
+ (Object) base_filter
This will return all groups including the standard groups (see groups.rb) as they both have sambaGroupMapping object class.
- + (Object) ldap_base
Methods inherited from LdapModel
#[], #[]=, _class_store, #add, #add_validation_error, after, all, #as_json, #assert_validation, before, by_attr, by_attr!, by_dn, by_dn!, by_dn_array, by_id, by_id!, by_ldap_attr, by_ldap_attr!, callable_from_instance, #changed?, class_store, clear_setup, computed_attr, connection, #create!, create_connection, create_filter_lambda, #dirty?, dn_bind, #empty?, escape, filter, from_ldap_hash, #get_own, #get_raw, inherited, #initialize, is_dn, is_not_found?, ldap_attrs, ldap_map, #ldap_merge!, ldap_op, #ldap_set, #link, #merge, #new?, #object_model, organisation, organisation?, pretty_attrs_to_ldap, raw_by_dn, raw_filter, sasl_bind, #save!, search, search_filters, #set, settings, settings=, setup, skip_serialize, #to_hash, #to_json, #to_ldap_hash, #transform, #update!, #validate, #validate!, #validate_unique, #write_raw
Constructor Details
This class inherits a constructor from LdapModel
Class Method Details
+ (Object) base_filter
This will return all groups including the standard groups (see groups.rb) as they both have sambaGroupMapping object class.
17 18 19 |
# File 'resources/samba_groups.rb', line 17 def self.base_filter "(objectClass=sambaGroupMapping)" end |
+ (Object) ldap_base
11 12 13 |
# File 'resources/samba_groups.rb', line 11 def self.ldap_base "ou=Groups,#{ organisation["base"] }" end |