This repository was archived by the owner on Jul 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Library for LDAP ORM
License
meet/directory
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Directory
=========
A library for simple LDAP ORM.
Add the following to your Gemfile:
gem 'directory', '0.0.1', :git => 'git://github.com/meet/directory.git'
Then (e.g. in a Rails initializer) specify connection parameters:
Directory.connect_with :base => 'dc=example,dc=com', :auth => { ... }, ...
Testing
=======
Use a mock LDAP backend:
require 'directory/test_help'
Directory.backend = Directory::MockLDAP
Then use e.g.:
Directory.connection.mock_user(:uid => ..., ...)
And so on.
About
Library for LDAP ORM
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published