Skip to content
Snippets Groups Projects
Select Git revision
  • ldapi-support
  • master default
  • v1.3.3
  • v1.4.0
  • v1.3.2
  • v1.3.0
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.1
  • v1.0.0
  • v0.4.0
  • v0.2.0
  • v0.3.0
  • v0.1.1
  • v0.1.0
16 results

__init__.py

  • Jose Manuel Lopez Lujan's avatar
    7c8ddf17
    Adds get_groups method to provide an interface for · 7c8ddf17
    Jose Manuel Lopez Lujan authored
    listing all available groups in the ldap directory
    based on the filter defined in LDAP_GROUPS_OBJECT_FILTER
    
    The get_groups method has two arguments fields and dn_only
    to customize the result. i.e.
    get_groups(fields=['cn', 'description'])
    provide a list of dict with included attributes. if only
    get_groups(dn_only=True) is provided, a list of available
    groups dn is returned. If no users in directory, an empty
    list is returned.
    7c8ddf17
    History
    Adds get_groups method to provide an interface for
    Jose Manuel Lopez Lujan authored
    listing all available groups in the ldap directory
    based on the filter defined in LDAP_GROUPS_OBJECT_FILTER
    
    The get_groups method has two arguments fields and dn_only
    to customize the result. i.e.
    get_groups(fields=['cn', 'description'])
    provide a list of dict with included attributes. if only
    get_groups(dn_only=True) is provided, a list of available
    groups dn is returned. If no users in directory, an empty
    list is returned.