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
  • PHP

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
array
$config The configuration data
public
# getAllUsers( mixed $attributes )

Retrieve all users from the LDAP directory

Retrieve all users from the LDAP directory

public
# getAllGroups( mixed $attributes )

Retrieve all groups from the LDAP directory

Retrieve all groups from the LDAP directory

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

Returns the result of the LDAP query

Returns the result of the LDAP query

Parameters

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

Returns

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

Holds the LDAP connection parameters

Holds the LDAP connection parameters

DAViCal API documentation generated by ApiGen 2.8.0