mod_auth(nz)_ibmdb2 - official web site
written by Helmut K. C. Tessarek
Last mod_auth_ibmdb2 News
[What is mod_auth(nz)_ibmdb2 / Features]
[Doc / FAQ]
What is mod_auth(nz)_ibmdb2
mod_auth(nz)_ibmdb2 is an Apache authentication module using IBM® DB2® as the backend database for storing user and group information.
The module supports several encryption methods.
mod_authnz_ibmdb2 is designed for Apache 2.2.x and later.
mod_auth_ibmdb2 is designed for Apache 2.0.x and 1.x.
I also provide UDFs and Stored Procedures to generate and validate hashes in DB2. They are compatible to the functions that are used in Apache's htpasswd utility.
Note to Apache 1.x and 2.0.x users:
Active development of mod_auth_ibmdb2 for Apache 1.x and 2.0.x has been stopped.
- runs under Apache 2.2.x and later (mod_authnz_ibmdb2)
- runs under Apache 1.x and Apache 2.0.x (mod_auth_ibmdb2)
- user authentication:
- bcrypt (APR-util ≥ 1.5.0)
- normal md5 hash (32 chars as in php)
- seeded md5 value (as generated with Apache's htpasswd utility or as in /etc/shadow)
- sha1 (not available in mod_auth_ibmdb2 for Apache 1.x)
- sha256 (not available in mod_auth_ibmdb2)
- plain text
- no password (checks only if user exists)
- if passwords are encrypted, the validation process checks the kind of encryption method
- stored procedure support (not available in mod_auth_ibmdb2 for Apache 1.x)
- support for user and group conditions (restricting result set of query)
- caching support for users and groups
- UDFs and SPs to generate and validate hashes in DB2
- php scripts for importing users to DB2
- man pages
Requirements: IBM® DB2®, Apache Portable Runtime
Planned release date: Not planned any new release yet
Files can also be downloaded on sourceforge.net.
The git repositories can be cloned from github with the following instruction set:
git clone https://github.com/tessus/mod_authnz_ibmdb2.git
git clone https://github.com/tessus/mod_auth_ibmdb2.git
git clone https://github.com/tessus/db2-hash-routines.git
You can also browse the repositories via the web:
Documentation is available as PDF in the download section.
The last documentation that includes information on mod_auth_ibmdb2 (for Apache 1.x and 2.0.x) is 1.12.
mod_auth_ibmdb2: A novel authentication method for Apache
The article shows up the steps how to compile and configure mod_auth_ibmdb2. It then explains the creation and use of the also provided UDFs for generating hashes in DB2.
Q: IBM's Websphere plugin and mod_auth(nz)_ibmdb2 seem to break each other. What can I do?
A: mod_auth(nz)_ibmdb2 has to be loaded after the Websphere plugin.
Q: Which versions of DB2 are supported?
A: All DB2 versions currently supported by IBM. I've tested the module with all versions since DB2 UDB v7.x, but older versions should work as well.
Q: What is the difference between mod_auth_ibmdb2 and mod_authnz_ibmdb2?
A: mod_authnz_ibmdb2 is based on the new authentication backend provider scheme of Apache 2.2. This module will only work for Apache 2.2.x and later. mod_auth_ibmdb2 works for Apache 2.0.x and 1.x.
Q: What platforms are supported?
A: All POSIX platforms. I've compiled and tested the module on Linux and AIX. Since the modules are using the APR libraries now, they can be compiled on Windows as well. Binary releases for win32 can be downloaded in the download section.
Q: Why isn't there a binary release for .....?
A: I don't have a development environment for every operating system. Furthermore I don't think that binary releases make sense for Unix style operating systems.
Q: What is the package db2-hash-routines for?
A: This package contains User Defined Functions and Stored Procedures to generate and validate hashes in DB2.
Q: What is the difference between db2-hash-routines and db2-auth-udfs?
A: db2-hash-routines is the successor of db2-auth-udfs and provides additional stored procedures and a validate routine.
Q: How do I get support?
A: Please submit support requests at the
Support Request Tracker (hosted by sourceforge).
Q: How do I submit bugs?
A: Please submit bugs at the
Bug Tracker (hosted by sourceforge).
Q: How do I submit a feature request?
A: Please submit feature requests at the
Feature Request Tracker (hosted by sourceforge).
Project info @ sourceforge
If you want to read (and submit) a support request
Visit the mod_auth_ibmdb2 Support Tracker.
If you want to submit a feature request
Visit the mod_auth_ibmdb2 Feature Request Tracker.
If you want to submit a bug
Visit the mod_auth_ibmdb2 Bug Tracker.
mod_auth(nz)_ibmdb2 by Helmut K. C. Tessarek
August 10 2014