Overview

Packages

  • awl
    • caldav-client-v2
    • RRule
  • davical
    • authentication
      • drivers
    • caldav
    • DAViCalSession
    • DAVTicket
    • external-bind
    • feed
    • HTTPAuthSession
    • iSchedule
    • iSchedule-POST
    • logging
    • metrics
    • Principal
    • propfind
    • PublicSession
    • Request
    • Resource
    • tzservice
  • None

Classes

  • imapPamDriver
  • ldapDriver
  • pwauthPamDriver
  • rimapPamDriver
  • squidPamDriver

Functions

  • array_values_mapping
  • fix_unique_member
  • getStaticLdap
  • IMAP_PAM_check
  • LDAP_check
  • PWAUTH_PAM_check
  • RIMAP_check
  • SQUID_PAM_check
  • sync_LDAP
  • sync_LDAP_groups
  • sync_user_from_LDAP
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class ldapDriver

Plugin to authenticate and sync with LDAP

Package: davical\authentication\drivers
Copyright: Maxime Delorme
License: GNU GPL v2 or later
Author:

Maxime Delorme mdelorme@tennaxia.net, Andrew McMillan andrew@mcmillan.net.nz


Located at drivers_ldap.php
Methods summary
public
# __construct( array $config )

Initializes the LDAP connection

Initializes the LDAP connection

Parameters

$config
The configuration data
public
# getAllUsers( $attributes )

Retrieve all users from the LDAP directory

Retrieve all users from the LDAP directory

public
# getAllGroups( $attributes )

Retrieve all groups from the LDAP directory

Retrieve all groups from the LDAP directory

public array
# requestUser( string $filter, array $attributes, string $username, $passwd )

Returns the result of the LDAP query

Returns the result of the LDAP query

Parameters

$filter
The filter used to search entries
$attributes
Attributes to be returned
$username
$passwd password to check
$passwd

Returns

array
Contains selected attributes from all entries corresponding to the given filter
Properties summary
public $connect

Holds the LDAP connection parameters

Holds the LDAP connection parameters

#
DAViCal API documentation generated by ApiGen