lita plugin for interacting with active directory
Ruby
Latest commit a2782e3 Dec 17, 2016 @dschaaff dschaaff readme update
Permalink
Failed to load latest commit information.
lib
locales
spec
templates
.gitignore
.rubocop.yml
.travis.yml
CONTRIBUTING.md
Gemfile
LICENSE
README.md
Rakefile
lita-activedirectory.gemspec

README.md

lita-activedirectory

Build Status MIT License Gem Code Climate

A Lita handler plugin for basic interactions with Active Directory.

Installation

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

gem "lita-activedirectory"

Configuration

  • config.handlers.activedirectory.host - LDAP host to query
  • config.handlers.activedirectory.port - LDAP port used to connect to the host
  • config.handlers.activedirectory.basedn - The basedn for the LDAP search
  • config.handlers.activedirectory.user_basedn - the basedn for LDAP user searches
  • config.handlers.activedirectory.username - User for connecting to LDAP
  • config.handlers.activedirectory.password - Password for connecting to LDAP

Usage

username expects the samaccount name

Check if a user account is locked out

is <username> locked?

Unlock a user account

unlock <username>

The user account specified in config.handlers.activedirectory.username must have permission to write the lockouttime attribute for unlocking to succeed. We leave it up to you to secure this account accordingly.

List a User's Group Memberships

<username> groups>