Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
ep_ldapauth
Advanced tools
Readme
In your etherpad-lite dir:
npm install ep_ldapauth
Add to settings.json:
"users": {
"ldapauth": {
"url": "ldaps://ldap.example.com",
"accountBase": "ou=Users,dc=example,dc=com",
"accountPattern": "(&(objectClass=*)(uid={{username}}))",
"displayNameAttribute": "cn",
"searchDN": "uid=searchuser,dc=example,dc=com",
"searchPWD": "supersecretpassword",
"groupSearchBase": "ou=Groups,dc=example,dc=com",
"groupAttribute": "member",
"groupAttributeIsDN": true,
"searchScope": "sub",
"groupSearch": "(&(cn=admin)(objectClass=groupOfNames))",
"anonymousReadonly": false
}
},
Users who are in the matches group have admin access to etherpad-lite.
First setup a read-only LDAP proxy user as described here. Then adapt this settings.json to match your IPA server URL, domain, LDAP proxy user and preferred admin group.
"users": {
"ldapauth": {
"url": "ldap://ipa.example.org:389",
"accountBase": "cn=users,cn=accounts,dc=example,dc=org",
"accountPattern": "(&(objectClass=posixaccount)(uid={{username}}))",
"displayNameAttribute": "displayname",
"searchDN": "uid=ldapproxy,cn=sysaccounts,cn=etc,dc=example,dc=org",
"searchPWD": "ldapproxy_password",
"searchScope": "sub",
"groupSearchBase": "cn=groups,cn=accounts,dc=example,dc=org",
"groupAttribute": "member",
"groupAttributeIsDN": true,
"groupSearch": "(&(cn=sysadmins)(objectClass=posixgroup))",
}
},
GPL-2.0
FAQs
Hooks into etherpad lite auth to provide LDAP authentication.
The npm package ep_ldapauth receives a total of 10 weekly downloads. As such, ep_ldapauth popularity was classified as not popular.
We found that ep_ldapauth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.