Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

af6140/lita-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages