Project

lita-ldap

0.0
No commit activity in last 3 years
No release in over 3 years
Lita LDAP operations like search user and group.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 3.0.0

Runtime

>= 4.7
>= 0.14
~> 1.6
 Project Readme

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