2017 © Pedro Peláez
 

library ldap-bundle

LDAP acces library

image

lilweb/ldap-bundle

LDAP acces library

  • Thursday, September 5, 2013
  • by iammichiel
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,720 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

LdapBundle

This bundle helps connecting to an existing LDAP server., (*1)

Installation

Add the dependency to your composer.json file :, (*2)

"lilweb/ldap-bundle" : "0.1.0"

Add the bundle to AppKernel.php :, (*3)

new Lilweb\LdapBundle\LilwebLdapBundle(),

Configuration

Add the following to your config.yml file :, (*4)

lilweb_ldap:
    host: %ldap_client_host%
    port: %ldap_client_port%
    username: %ldap_client_username%
    password: %ldap_client_password%
    version: %ldap_client_version%

Usage

A new service called lilweb.ldap_connection is now available in your container., (*5)

Example :, (*6)

$entries = $this
    ->ldapConnection
    ->search(
        array(
            'base_dn' => $this->params['base_dn'],
            'filter'  => sprintf('(&%s(%s=%s))', $filter, $this->params['name_attribute'], $this->ldapConnection->escape($username))
        )
    );

Technical information

  • The connection is not made until a method on the connection is called.
  • This bundle requires the PHP-ldap extension

The Versions

05/09 2013

dev-master

9999999-dev https://github.com/lilweb/LdapBundle

LDAP acces library

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-ldap *

 

by Michiel Missotten

symfony2 ldap

05/09 2013

0.1.1

0.1.1.0 https://github.com/lilweb/LdapBundle

LDAP acces library

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-ldap *

 

by Michiel Missotten

symfony2 ldap

12/08 2013

0.1.0

0.1.0.0 https://github.com/lilweb/LdapBundle

LDAP acces library

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-ldap *

 

by Michiel Missotten

symfony2 ldap