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
modemmenu documentation
- Building: Go, PAM and
make install. - Running it from app_dmodem: one program for each call, one server on a unix socket, and FreePBX.
- Configuration:
modemmenu.conf, the connect rate, terminals, the message of the day, the menu (full screen or lines) and its items, guests and sign-up, caller ID, time limits, drop files, last callers, and the transfer of callers to a different program. - Configuration reference: all sections and keys, from the sample.
- The sysop's setup:
modemmenu -setup, to change the configuration on a full screen, at the console or on the line. - Authentication: users file, LDAP, SQL, system accounts (PAM), password changes and the auth socket.
- The LDAP provider: an LDAP server for other programs, with the same users and passwords.
- PPP dialers: AutoPPP and PAP, and the pppd plugin.
- AOL callers: the classic AOL client when it dials in, and the emulation of its network.
- Security notes.
- Tests.
The samples: modemmenu.conf.sample, modemmenu.users.sample, modemmenu.pam.sample, modemmenu.service.sample, modemmenu-authd.service.sample, modemmenu-ldapd.service.sample.