mirror of
https://github.com/D-Modem/login.git
synced 2026-11-28 20:38:06 -08:00
[ldapd] serves a read-only LDAPv3 directory from the same backends as the login prompt, so that other programs (the BBS, a wiki, mail, a PBX) use the same users and passwords as the dial-up line. - uid=<user>,ou=people,<base_dn> for the users file, the members of [groups] and system accounts named by a search; cn=<group>,ou=groups from [groups], with member, memberUid and memberOf - simple bind as a user (DN or bare name) or a service account whose bind_password is a hash; no password is ever in an entry - search (all filters but extensible match), compare, StartTLS, ldaps, Who am I? (RFC 4532), Password Modify (RFC 3062, old password required, in the backend that holds the account), paged results - require_tls (default yes) except on unix sockets and loopback; anonymous_search, user_search, fail_delay, max_clients, idle_timeout, size_limit; add, delete and modify are refused - run by -serve, or alone by -ldapd (modemmenu-ldapd.service.sample) - docs/ldap-provider.md in Simplified Technical English, the sample, the reference and the setup screens Tested with go-ldap and with OpenLDAP's ldapsearch, ldapwhoami and ldappasswd (StartTLS, ldaps, paging). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65