## /inc/drivers_ldap.php

Description

Manages LDAP repository connection

- author: Maxime Delorme <mdelorme@tennaxia.net>, Andrew McMillan <andrew@mcmillan.net.nz>
- copyright: Maxime Delorme
- license: GNU GPL v2 or later

Classes

Class | Description
--- | ---
ldapDrivers |

Includes
require_once ("auth-functions.php") (line 14)

Manages LDAP repository connection

- author: Maxime Delorme <mdelorme@tennaxia.net>, Andrew McMillan <andrew@mcmillan.net.nz>
- copyright: Maxime Delorme
- license: GNU GPL v2 or later

Functions
getStaticLdap (line 242)

A generic function to create and fetch static objects

void getStaticLdap ()
LDAP_check (line 302)

Check the username / password against the LDAP server

void LDAP_check ( $username, $password)

- $username
- $password

sync_LDAP (line 505)

sync LDAP against the DB

void sync_LDAP ()
sync_LDAP_groups (line 371)

sync LDAP Groups against the DB

void sync_LDAP_groups ()
sync_user_from_LDAP (line 259)

Synchronise a cached user with one from LDAP

void sync_user_from_LDAP (Principal &$principal, $mapping, $ldap_values, object $principal)

- object $principal: A Principal object to be updated (or created)
- Principal &$principal
- $mapping
- $ldap_values

Documentation generated on Mon, 24 Oct 2011 20:09:28 +1300 by phpDocumentor 1.4.3