{"id":16810262,"url":"https://github.com/tessus/mod_authnz_ibmdb2","last_synced_at":"2025-06-28T16:37:07.061Z","repository":{"id":12684678,"uuid":"15356842","full_name":"tessus/mod_authnz_ibmdb2","owner":"tessus","description":"Apache 2.2+ authentication module for IBM DB2","archived":false,"fork":false,"pushed_at":"2023-02-15T22:34:21.000Z","size":199,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T10:25:48.485Z","etag":null,"topics":["apache-httpd","apache-module","authentication","authorization","db2","httpd"],"latest_commit_sha":null,"homepage":"http://tessus.github.io/mod_authnz_ibmdb2","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tessus.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-21T09:43:49.000Z","updated_at":"2023-02-15T04:56:37.000Z","dependencies_parsed_at":"2022-08-30T12:40:55.575Z","dependency_job_id":null,"html_url":"https://github.com/tessus/mod_authnz_ibmdb2","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tessus/mod_authnz_ibmdb2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fmod_authnz_ibmdb2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fmod_authnz_ibmdb2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fmod_authnz_ibmdb2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fmod_authnz_ibmdb2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tessus","download_url":"https://codeload.github.com/tessus/mod_authnz_ibmdb2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tessus%2Fmod_authnz_ibmdb2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262460569,"owners_count":23314766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-httpd","apache-module","authentication","authorization","db2","httpd"],"created_at":"2024-10-13T10:14:56.051Z","updated_at":"2025-06-28T16:37:07.006Z","avatar_url":"https://github.com/tessus.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"+----------------------------------------------------------------------+\n| mod_authnz_ibmdb2                                             README |\n+----------------------------------------------------------------------+\n| Author: Helmut K. C. Tessarek                                        |\n+----------------------------------------------------------------------+\n| Website: http://tessus.github.io/mod_authnz_ibmdb2                   |\n+----------------------------------------------------------------------+\n\n1) Install\n2) Description of the module\n\n+----------------------------------------------------------------------+\n| 1. Install                                                           |\n+----------------------------------------------------------------------+\n\nsee INSTALL\n\n+----------------------------------------------------------------------+\n| 2. Description of the module                                         |\n+----------------------------------------------------------------------+\n\nmod_authnz_ibmdb2 is an Apache authentication module using IBM DB2 as the backend database for\nstoring user and group information.\n\nHere is a list of the new directives that come with the module:\n\n\nAuthIBMDB2Database              database name (no default)\n\nAuthIBMDB2Hostname              database server hostname for uncataloged databases (no default)\n\nAuthIBMDB2Portnumber            database instance port (default: 50000)\n\nAuthIBMDB2User                  user for connecting to the DB2 database (no default)\n\nAuthIBMDB2Password              password for connecting to the DB2 database (no default)\n\nAuthIBMDB2UserTable             name of the user table (no default)\n\nAuthIBMDB2GroupTable            name of the group table (no default)\n\nAuthIBMDB2NameField             name of the user field within the table (default: username)\n\nAuthIBMDB2GroupField            name of the group field within the table (default: groupname)\n\nAuthIBMDB2PasswordField         name of the password field within the table (default: password)\n\nAuthIBMDB2CryptedPasswords      passwords are stored encrypted (default: yes)\n\nAuthIBMDB2KeepAlive             connection kept open across requests (default: yes)\n\nAuthIBMDB2Authoritative         lookup is authoritative (default: yes)\n\nAuthIBMDB2NoPasswd              just check, if user is in usertable (default: no)\n\nAuthIBMDB2UserCondition         restrict result set (no default)\n\nAuthIBMDB2GroupCondition        restrict result set (no default)\n\nAuthIBMDB2UserProc              stored procedure for user authentication (no default)\n\nAuthIBMDB2GroupProc             stored procedure for group authentication (no default)\n\nAuthIBMDB2Caching               user credentials are cached (default: off)\n\nAuthIBMDB2GroupCaching          group information is cached (default: off)\n\nAuthIBMDB2CacheFile             path to cache file (default: /tmp/auth_cred_cache)\n\nAuthIBMDB2CacheLifetime         cache lifetime in seconds (default: 300)\n\n\n\nExample how to use the module in the httpd.conf:\n\n\u003cDirectory \"/var/www/my_test_dir\"\u003e\n    AuthName                     \"DB2 Authentication\"\n    AuthType                     Basic\n    AuthBasicProvider            ibmdb2\n\n    AuthIBMDB2User               db2inst1\n    AuthIBMDB2Password           ibmdb2\n    AuthIBMDB2Database           auth\n    AuthIBMDB2UserTable          web.users\n    AuthIBMDB2NameField          username\n    AuthIBMDB2PasswordField      passwd\n\n    AuthIBMDB2CryptedPasswords   On\n    AuthIBMDB2KeepAlive          On\n    AuthIBMDB2Authoritative      On\n    AuthIBMDB2NoPasswd           Off\n\n    AuthIBMDB2GroupTable         web.groups\n    AuthIBMDB2GroupField         groupname\n\n    #require                     valid-user\n    require group                admin\n    AllowOverride                None\n\u003c/Directory\u003e\n\nor\n\n\u003cDirectory \"/var/www/my_test_dir\"\u003e\n    AuthName                     \"DB2 Authentication\"\n    AuthType                     Basic\n    AuthBasicProvider            ibmdb2\n\n    AuthIBMDB2User               db2inst1\n    AuthIBMDB2Password           ibmdb2\n    AuthIBMDB2Database           auth\n    AuthIBMDB2UserProc           user_sp\n    AuthIBMDB2GroupProc          group_sp\n\n    AuthIBMDB2Caching            On\n    AuthIBMDB2GroupCaching       On\n\n    require group                admin\n    AllowOverride                None\n\u003c/Directory\u003e\n\nwhere the stored procedures must have the following parameter format:\n\nCREATE PROCEDURE user_sp  ( IN VARCHAR, OUT VARCHAR )\nCREATE PROCEDURE group_sp ( IN VARCHAR )\n\nThe stored procedure for user authentication must return exactly one value -\nthe password. If AuthIBMDB2NoPasswd is set to yes, then the username has\nto be returned instead of the password.\n\nThe stored procedure for group authentication must return an open cursor\nto the resultset.\n\nTwo examples for stored procedures are given in the documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftessus%2Fmod_authnz_ibmdb2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftessus%2Fmod_authnz_ibmdb2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftessus%2Fmod_authnz_ibmdb2/lists"}