
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
github.com/ergochat/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
Unknown package
Did you know?
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.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.