mod_auth_cdb
mod_auth_cdb.c
file for
ProFTPD 1.2, found here,
and is not compiled by default. Installation instructions
are discussed here.
This authentication module provides the ability to read password and group
information from files in Dan J. Bernstein's CDB
(Constant
Database) format:
http://cr.yp.to/cdb.htmlBenefits provided by CDB are (from the site):
cdb
can handle any database up to
4 gigabytes. There are no other restrictions; records don't even have to
fit into memory. Databases are stored in a machine-independent format.cdbmake
can rewrite
an entire database two orders of magnitude faster than other hashing
packages.cdbdump
prints the contents of a
database in cdbmake
-compatible format.
This module is also distributed with a tool, cdbconv
, that
can be used to convert /etc/passwd
or AuthUserFile
s,
/etc/group
or AuthGroupFile
s, into cdb
files suitable for use with by this module.
The most current version of mod_auth_cdb
can be found at:
http://www.castaglia.org/proftpd/
Please contact TJ Saunders <tj at castaglia.org> with any questions, concerns, or suggestions regarding this module.
2001-08-22: Many thanks to Marten Lehmann <lehmann at cnm.de> for helping track down several bugs
<VirtualHost>
, <Global>
This directives configures an alternate groups file in the CDB format, and
if specified, is used during authentication and group lookups for
directory/access control operations. The path parameter should be the
full path to the groups file. AuthCDBGroupFile
can be configured
on a per-<VirtualHost>
basis, so that virtual FTP servers
can each have their own authentication database (most often used in conjunction
with AuthCDBUserFile
).
See also: AuthCDBUserFile
<VirtualHost>
, <Global>
This directive configures an alternate password file in the CDB format, and if
specified, is used during authentication and user lookups for directory/access
control operations. The path argument should be the full path to the
specified file. AuthCDBUserFile
can be configured on a
per-<VirtualHost>
basis, so that virtual FTP servers can
each have their own authentication database (most often used in conjunction
with AuthCDBGroupFile
).
See also: AuthCDBGroupFile
mod_auth_cdb
, copy the mod_auth_cdb.c
file into:
proftpd-dir/contrib/Then follow the usual steps for using third-party modules with proftpd:
./configure --with-modules=mod_auth_cdb make make install