https://github.com/mosch/ldap-bundle
Symfony2 Bundle for LDAP integration
https://github.com/mosch/ldap-bundle
Last synced: 3 months ago
JSON representation
Symfony2 Bundle for LDAP integration
- Host: GitHub
- URL: https://github.com/mosch/ldap-bundle
- Owner: mosch
- License: mit
- Created: 2014-11-24T23:55:49.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-25T00:01:02.000Z (over 11 years ago)
- Last Synced: 2025-01-28T21:18:20.846Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LDAPBundle
This bundle integrates the ccottet/ldap library into Symfony 2. You could use this to implement your own LdapAuthentication into your project.
## Configuration
```yaml
agixo_ldap:
driver:
host: localhost
baseDn: 'dc=example,dc=com'
bindDn: 'cn=users,dc=example,dc=com'
loginAttribute: uid
port: 389
```
## Using LDAP
### Controller
In your controller you can get access to ldap. To check login data against LDAP you could do:
```
$this->get('ldap.manager')->checkPassword($username, $password)
```