🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/ergochat/ergo-ldap

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ergochat/ergo-ldap

v0.0.1
Source
Go
Version published
Created
Source

ergo-ldap

This is an authentication plugin for Ergo that defers password checking to an LDAP server.

To build the plugin, install Go 1.14 or higher, then run make; this will build an ergo-ldap binary.

See example.yaml for LDAP authentication options.

To configure Ergo to use this plugin, add a section like this to your accounts block:

    auth-script:
        enabled: true
        command: "/path/to/ergo-ldap"
        # constant list of args to pass to the command; the actual authentication
        # data is transmitted over stdin/stdout:
        args: ["/path/to/ldap-config.yaml"]
        # should we automatically create users if the plugin returns success?
        autocreate: true
        # timeout for process execution, after which we send a SIGTERM:
        timeout: 9s
        # how long after the SIGTERM before we follow up with a SIGKILL:
        kill-timeout: 1s

You will most likely also want to set require-sasl: true and accounts.registration.enabled: false.

FAQs

Package last updated on 30 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts