Registry / orm / activeldap

activeldap

JSON →
library7.2.3rbrubygemsunverified

A Ruby library providing a clean object-oriented interface to LDAP, inspired by ActiveRecord.

gem install activeldap
INSTALL
IMPORT
SIG · ACTIVELDAP
A
activeldap
ormrubyv7.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActiveLdap
require 'active_ldap'

Define and save an LDAP entry using ActiveLdap

require 'active_ldap' class User < ActiveLdap::Base ldap_mapping dn_attribute: 'uid', prefix: 'ou=People', classes: ['inetOrgPerson'] end user = User.new('uid' => 'jdoe', 'cn' => 'John Doe') user.save
Debug
Known issues
gotchaRequires a running LDAP server; not a standalone database.
fix
Ensure an LDAP server is accessible and configured.
affects: >= 0
Upgrade
Version history
7.2.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
42
OpenAI (training)
1
Resources
activeldap — gem install activeldap · libregistry