Simplest ldap server with authentication via PAM.
make
make install
Or (for building debian package):
make debian
# entente [options]
Or:
# /etc/init.d/entente start
# # config file: /etc/default/entente
-
-a
Allow anonymous access.
-
-b basedn
Set the basedn for the ldap server (default: "dc=entente").
-
-l
Bind to the loopback interface only.
-
-p port
Set local port number (default: 389).
-
-d
Run as a daemon.
lighttpd.conf:
server.modules += ( "mod_rewrite" )
auth.backend = "ldap"
auth.backend.ldap.hostname = "localhost"
auth.backend.ldap.filter = "(user=$)"
auth.require = (
"/tratata" => (
"method" => "basic",
"realm" => "entente",
"require" => "user=kiki|user=ooki"
),
)