Convos::Plugin::Auth::LDAP - Convos plugin for logging in users from LDAP

  1. SYNOPSIS
  2. DESCRIPTION
  3. ENVIRONMENT VARIABLES
    1. CONVOS_AUTH_LDAP_DN
    2. CONVOS_AUTH_LDAP_URL
  4. METHODS
    1. register
  5. SEE ALSO

SYNOPSIS

$ CONVOS_PLUGINS=Convos::Plugin::Auth::LDAP \
  CONVOS_AUTH_LDAP_URL="ldap://localhost:389" \
  CONVOS_AUTH_LDAP_DN="uid=%uid,dc=%domain,dc=%tld" \
  ./script/convos daemon

DESCRIPTION

Convos::Plugin::Auth::LDAP allows convos to register and login users from an LDAP database.

ENVIRONMENT VARIABLES

CONVOS_AUTH_LDAP_DN

CONVOS_AUTH_LDAP_DN defaults to "uid=%uid,dc=%domain,dc=%tld" (EXPERIMENTAL), but can be set to any value you like. The "%named" parameters can be "%email", "%uid", "%domain" and "%tld", which will be extracted from the email address of the user. Example:

CONVOS_AUTH_LDAP_DN = "uid=%uid,dc=%domain,dc=%tld"
email = "[email protected]"
dn = "uid=superwoman,dc=example,dc=com"

CONVOS_AUTH_LDAP_URL

The URL to the LDAP server. Default is "ldap://localhost:389". (EXPERIMENTAL)

You can add LDAP config parameters to the URL. See Net::LDAP for more information.

ldap://ldap.example.com?debug=1&timeout=10&password=myS3cret

Want to connect securily? Change "ldap://" to "ldaps://"

METHODS

register

Used to register this plugin in the Convos application.

SEE ALSO

Convos::Plugin::Auth and Convos.