Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
locales
spec
templates
.gitignore
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
lita-ldap.gemspec

README.md

lita-ldap

Lita handler for ldap operations.

Installation

Add lita-ldap to your Lita instance's Gemfile:

gem "lita-ldap"

Configuration

Lita.configure do |config|
  #required
  config.handlers.ldap.host = 'localhost'
  config.handlers.ldap.port = 1389
  config.handlers.ldap.bind_dn = 'cn=admin,dc=ldap,dc=example,dc=com'
  config.handlers.ldap.bind_password = 'admin'
  config.handlers.ldap.base_dn = 'dc=ldap,dc=example,dc=com'

  config.handlers.ldap.user_base_dn = 'ou=people' # append before base_dn
  config.handlers.ldap.group_base_dn = 'ou=groups' # append before base_dn
end

Usage

  • ldap search user nexus
  • ldap search group nx-admin
  • ldap search with filter 'cn=gerrit'
  • ldap show dn 'cn=gerrit,ou=people,dc=ldap,dc=example,dc=com'
  • ldap delete dn 'cn=gerrit,ou=people,dc=ldap,dc=example,dc=com'
  • ldap delete tree dn 'ou=people,dc=ldap,dc=example,dc=com' #if supported
  • ldap root dse
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.