PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » Auth

Creating an authentication system.

This package is unmaintained.

Download latest release 1.6.4 (there might be newer Composer installable version)

License: PHP License

Description

The PEAR::Auth package provides methods for creating an authentication
system using PHP.

Currently it supports the following storage containers to read/write
the login data:

* All databases supported by the PEAR database layer
* All databases supported by the MDB database layer
* All databases supported by the MDB2 database layer
* Plaintext files
* LDAP servers
* POP3 servers
* IMAP servers
* vpopmail accounts (Using either PECL vpopmail or PEAR Net_Vpopmaild)
* RADIUS
* SAMBA password files
* SOAP (Using either PEAR SOAP package or PHP5 SOAP extension)
* PEAR website
* Kerberos V servers
* SAP servers

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#75BogusBug2003-10-07Missplaced "?>" tag
#76ClosedBug2003-10-07A password of "test<space>" is not validated
#92ClosedBug2003-10-13DOS line endings cause errors on Linux
#106ClosedBug2003-10-15session started without check if session already exists
#250ClosedBug2003-11-14cryptType handling is incomplete in DB-Containers addUser-Method
#251DuplicateBug2003-11-14cryptType handling is incomplete in DB-Containers addUser-Method
#711ClosedBug2004-02-09*BACKDOOR* in auth package
#798ClosedBug2004-02-19Auth_Container_DB::_connect doesn't not take care of optional parameters w/Patch
#855ClosedBug2004-02-25[PATCH] Auth::changePassword implementation
#935ClosedBug2004-03-03$HTTP_POST_VARS / $_POST array keys
#1062No FeedbackBug2004-03-24Ldap auth
#1259ClosedBug2004-04-22error in documentation
#1326ClosedBug2004-05-02Fixes for CVS version, Some accessped but most not
#1401ClosedBug2004-05-13IMAP authentication fails due to error in code
#1535ClosedBug2004-06-01Auth session variable name is random
#1599ClosedBug2004-06-10Auth 1.3.0r1 - Duplicate call to session_start()
#1655BogusBug2004-06-16page hangs with no error display
#1759DuplicateBug2004-06-30tarball looks corrupt
#1760DuplicateBug2004-06-30tarball looks corrupt
#1779BogusBug2004-07-02PEAR Auth and php-4.3.7 incompatibility
#1802ClosedBug2004-07-05getAuth() is always Bool(false)
#1813ClosedBug2004-07-07Anonymous BIND Breaks for 1.3.0r2
#1885BogusBug2004-07-15join(order, wrong)
#1893No FeedbackBug2004-07-16Auth brings blank pages...
#1894No FeedbackBug2004-07-16checkAuth() BC break?
#1897ClosedBug2004-07-16Error in login because of bad string check..
#2021ClosedReq2004-07-30Session fixation attack vulnerability
#2060Wont fixBug2004-08-05Invalid directory structure in Auth 1.3 r2 tarball
#2130ClosedBug2004-08-16Typo in Auth.php
#2139ClosedBug2004-08-16Problems with sessions
#2149ClosedBug2004-08-17[doc] typo in "Custom Storage Containers"
#2186ClosedBug2004-08-21dont use get_parent_class to check if its child of db_common
#2229ClosedReq2004-08-26Ability to attach fall through containers
#2245ClosedBug2004-08-291.3.0r2 - typo in container DB.php
#2270ClosedBug2004-09-01Package Auth can't read my RDBMS.
#2321BogusBug2004-09-13Serious Reload authentication bug
#2395ClosedBug2004-09-25Warning error in Auth v.1.3.0r3
#2446ClosedBug2004-10-04english errors in DB container
#2496ClosedBug2004-10-11Installation fails because of zero-length .tmpusers file
#2497BogusBug2004-10-11'db_fields' parameter has no effect
#2612ClosedReq2004-10-25Auth - PHP5 SOAP Container
#2700ClosedBug2004-11-05php5 warning on login
#2763ClosedReq2004-11-15Invalid HTML in login form
#2764ClosedBug2004-11-15Auth fails after first page without cookies
#2765OpenReq2004-11-15Persistent cookies
#2873ClosedBug2004-12-02Auth_Container_LDAP: Could not bind to LDAP server. halted script execution
#2892ClosedBug2004-12-04Improper path in Container/RADIUS.php::require_once()
#2932ClosedBug2004-12-09[doc] Introduction Example doesn't work
#3099ClosedBug2005-01-04Bad is_null() check in getAuthData($name = null)
#3101ClosedBug2005-01-04Wrong variable names in Auth/Container/File.php
#3223ClosedReq2005-01-17When exactly is the login form callback called?
#3226BogusBug2005-01-18Missing portability option with DB storage
#3279BogusReq2005-01-24Session storage
#3664ClosedBug2005-03-02call-time pass-by-reference error on line 430
#3795ClosedBug2005-03-12throws error with non-array "dsn"?
#3918No FeedbackReq2005-03-22Support for Atom authentication
#4126ClosedReq2005-04-12Auth AdvancedSecurity patch
#4216ClosedBug2005-04-24contributing documentation
#4242BogusBug2005-04-28$loginFunction cannot be a method
#4283Wont fixReq2005-05-05new option for IMAP container
#4347ClosedBug2005-05-14MDB and DB Containers fail to recognize if DB and MDB objects are passed as dsn
#4371ClosedBug2005-05-17Introduction documentation error
#4901ClosedBug2005-07-24Usage of Crypt_CHAP classes by Auth_RADIUS
#4917No FeedbackReq2005-07-26Search filter for LDAP Container
#4918ClosedReq2005-07-26POP3 Container and Net::POP3 authentication
#4992Wont fixBug2005-08-04Search for login name is case insensitive (DB, MySQL)
#5026DuplicateBug2005-08-08Call-time pass-by-reference deprecated
#5096ClosedBug2005-08-15SOAP container fix to wsdl work
#5174ClosedBug2005-08-22Notice: Only variable references should be returned by reference
#5365ClosedBug2005-09-12LDAP Container: ldap_count_entries error
#5822No FeedbackBug2005-10-29Tests are broken
#5823BogusBug2005-10-29unset var on use
#5832ClosedReq2005-10-31Array Container for username/password combos
#5846ClosedBug2005-11-01Auth_Container_File broken when using Auth_HTTP
#6101ClosedBug2005-11-28Passing a custom storage object causes error
#6289ClosedBug2005-12-19Online Docs miss documentation of Auth::logout()
#6324ClosedBug2005-12-22MDB2 related fixes
#6489Wont fixBug2006-01-14checkAuth() is marked private, should be public
#6644ClosedBug1.3.02006-01-31LDAP & Active Directory 2003 (LDAP_OPT_REFERRALS)
#6651ClosedReq2006-02-01Add clarification for custom login functions
#6671ClosedReq1.3.0r32006-02-02Have created a KADM5 Container for Kerberos authentication
#6785DuplicateBug2006-02-14New version Auth (1.2.4) wont install/upgrade ERROR: bad md5sum for file /var/w
#6786ClosedBug1.2.42006-02-14Upgrade/install faliure of Auth 1.2.3 ERROR: bad md5sum for file /var/www/pear/
#6791ClosedBug1.3.0r42006-02-15Wrong function used (call_user_func_array)
#6803ClosedReq1.3.0r42006-02-16depreciated DB function
#6808ClosedBug1.3.0r42006-02-17can't add user with DB container
#6851ClosedBug1.3.0r52006-02-21Double quotes in db login check
#6934BogusBugCVS2006-02-25asd
#6949ClosedReq1.3.0RC62006-02-27Use PEAR::LOG class for debug messages
#6959ClosedReq2006-02-28Auth::LDAP Small Refactoring
#7031ClosedReq1.3.02006-03-06I hope not to use "session_regenerate_id".
#7043ClosedBug1.3.02006-03-06Documentation -- Auth constructor now calls session_start()
#7089ClosedReq1.3.02006-03-10Add a WHERE clause in Auth request with DB container
#7111BogusBug2006-03-13Auth doesn't reload DB field content if auth rechecked from session
#7421ClosedReq1.3.02006-04-19constructor option allowLogin doesn't work
#7434ClosedReq1.3.02006-04-20(patch) Enable start_tls support for LDAP container
#7511No FeedbackBug1.3.02006-04-28setExpire() do not logout user.
#7537ClosedBug1.3.02006-05-01File storage not working/limited
#7654ClosedBug1.3.02006-05-17options retrieved by parse_ini_file do not work with Auth_LDAP due to triple =
#7734ClosedReq1.3.02006-05-26Documentation should mention Auth's use of session_regenerate_id
#7841ClosedBug1.3.02006-06-08minor html bug, missing </center> tag on login form
#7860ClosedReq1.3.02006-06-10Don't use session_register!
#7899ClosedBug2006-06-14Auth::sessionValidThru() returns wrong value
#7900ClosedReq2006-06-14example missing
#7956BogusBug1.3.02006-06-21loosing auth status after session_regenerate_id
#8076ClosedBug1.3.02006-06-29MDB2 Container's default 'db_fields' option breaks listUsers
#8351ClosedBug1.3.02006-08-03setLoginFailedCallback missing
#8406ClosedBugCVS2006-08-09Error message updates
#8407ClosedBugCVS2006-08-09Database containers don't quote table/field names
#8513ClosedReq2006-08-19I suggest to highlight that: password by default should be md5 encrypted.
#8524ClosedBug1.3.12006-08-21DBlite Container: Notice message
#8597ClosedReq1.3.22006-08-31Code cleanup. Remove the $GLOBALS['HTTP_*_VARS']
#8599ClosedBug1.3.22006-08-31connection postgres auth table failed
#8637ClosedReq1.3.22006-09-05SAP container proposal
#8732ClosedBug1.3.22006-09-19Login always fails without $options['db_fields'] = '*';
#8735ClosedBug1.3.22006-09-19$auth->addUser() method fails with File container
#8740ClosedDoc2006-09-20Typo in documentation for PEAR::Auth::setAllowLogin
#9241ClosedBug1.4.12006-11-06call_user_func_array: $this instaed of &$this
#9277Wont fixReq1.4.12006-11-08md5 salts
#9286ClosedBug1.4.12006-11-09Should use strcmp not == to compare passwords
#9313ClosedBug1.4.22006-11-12Using start() page stop
#9380ClosedBug1.4.22006-11-19Auth via POP3: lost $server default value
#9407ClosedBug1.4.22006-11-21Add callback for extra validity checks by developer
#9479ClosedBug1.4.22006-11-27Typo in _checkServer causes failure - Fix Included.
#9554BogusBug1.4.32006-12-05Bug #9479 breaks Auth_Container_KRB5
#9580BogusBug1.4.32006-12-08Upgrade to 1.4.3 stops my Auth sites from logging on
#9668ClosedReq1.4.32006-12-20Move to package.xml v2
#9696ClosedBugCVS2006-12-26Auth since 1.3.1: DB Container option "table" is to much restricted
#9726BogusBug1.4.32007-01-03Can't login with Postgresql and no public schema
#9856BogusBug1.4.32007-01-17cookie set everytime new Auth() is called
#9866BogusBug1.4.32007-01-18Bug in Auth/Container/POP3.php
#9944ClosedBug1.5.0RC12007-01-25Use of undefined constant PEAR_LOG_DEBUG
#10000ClosedBug1.5.0RC12007-02-01Undefined index: final_table, if a MDB2 Object is given
#10004ClosedBug1.5.0RC12007-02-01Debug messages in LDAP container are unhelpful
#10059ClosedDoc1.4.32007-02-08Columns in capital
#10125ClosedBug1.5.02007-02-19LDAP fetchData only work for 1 entry
#10729ClosedReq1.5.12007-04-14session_regenerate_id() should be called every time start() is called
#10785ClosedBug1.5.12007-04-20STRICT error
#11208BogusBug1.5.12007-06-02session_regenerate_id() problem
#11396ClosedBug1.5.22007-06-21Auth_Container_Pear doesn't work
#11476ClosedBug1.5.22007-06-28Wrong usage of options in SOAP5 container: _validateOptions and _setDefaults
#11499ClosedBug1.5.32007-07-02Missing argument in the call of $this->_validateOptions() in $this->fetchData()
#11512No FeedbackBug1.5.42007-07-03three quotation marks in place of one in "fetchData"
#11821BogusBug1.5.42007-08-12setSessionName() does not work fully
#12061ClosedReq1.5.42007-09-17in Auth_Container_DB::_prepare() no schema changed allowed
#12074BogusBug1.5.42007-09-18Auth LDAP is not managing ldap_connect result code properly
#12087ClosedReq1.5.42007-09-20setAdvancedSecurity parameters
#12112ClosedBug1.5.42007-09-25Allow control of domain and path for cookies
#12156ClosedDoc1.5.42007-09-30Correction to doc page for Auth::setSessionName()
#12537ClosedReq1.5.42007-11-27No ability to delete data set with setAuthData()
#12739ClosedBug1.5.42007-12-20doesn't post properly
#13202Wont fixReq1.5.42008-02-25cannot use array in login form
#13304ClosedDoc1.5.42008-03-04Clarify getAuth() and checkAuth()
#13337ClosedReq1.5.42008-03-07Vpopmaild Container
#13418ClosedReq1.5.42008-03-17Options for PEAR container
#13579DuplicateBug1.6.12008-04-04Syntax error, unexpected ')' in Container/{DB,MDB,MDB2,DBLite}.php
#13580DuplicateBug1.6.12008-04-04Extra ")" in DB.php
#13627ClosedBug1.6.22008-04-08Add crypt mode to File container
#13756ClosedBug1.6.12008-04-23Variable name mispelling in SAP
#13757ClosedBug1.6.12008-04-23AUTH_LOG_ERR used but not defined
#13782No FeedbackBug1.6.12008-04-27MDB2 Container does not do quoting
#14153Wont fixDoc1.6.12008-06-16PEAR Auth documentation sparse/lacking/nonexistant
#14248ClosedBug1.6.12008-06-27Typos fixes and corrections for documentation
#14259ClosedDoc1.6.12008-06-29Logout functionality example changes
#14392ClosedDoc1.6.12008-07-23setAdvancedSecurity documentation
#14446ClosedDoc2008-08-03User note that is a documentation problem
#14447ClosedDoc2008-08-03User note that is a documentation problem
#14825ClosedReqCVS2008-10-18Upgrade to PHPUnit 3
#14858FeedbackBug1.6.12008-10-24AdvancedSecurity in conflict with setSessionName
#14883DuplicateReqCVS2008-10-26Improve unit test behaviour
#14966BogusBug1.6.12008-11-06Strict checkis show problems
#15466ClosedDoc2008-12-30User note that is a documentation problem
#15657ClosedReq1.6.12009-01-16Auth to use HTTP_Session2 ?
#16007Wont fixReq1.6.12009-03-10optional "is_active" field check
#16044ClosedBug1.6.12009-03-19Auth_Container_RADIUS and MSCHAPv1
#16059ClosedReqCVS2009-03-31Auth container for the CAS service
#16676ClosedBug1.6.12009-10-03Notices in PEAR container
#17097ClosedBugCVS2010-02-13listUsers() throws "undefined variable" on file without users:
#17156ClosedReqSVN2010-02-25Don't call Auth::updateIdle() statically
#17284ClosedBug1.6.22010-03-31Auth_Container_File->fetchData doesn't match the parent's method
#17691ClosedBugSVN2010-08-10PATCH: Using explode instead of split
#17831Wont fixReq1.6.22010-08-29start does not return drawLogin's return value
#17905BogusBug1.6.22010-09-29cannot untar auth 1.6.2 tar
#17992ClosedBug1.6.32010-10-25Package structure changed in 1.6.3
#18034Wont fixReq1.6.42010-11-08Support for Shibboleth / SAML
#18035OpenReq1.6.42010-11-09Bug with session_regenerate_id()
#18097ClosedReq1.6.42010-12-05Auth Log Observer
#18199ClosedBug1.6.42011-01-17Auth 1.6.4
#18554DuplicateBug1.6.42011-05-19return value is deprecated
#18555SpamBug1.6.42011-05-19return value is deprecated
#18977Wont fixBug1.6.42011-11-09Deprecated Error
#19158OpenDoc1.6.42011-12-26Logging issues
#19175ClosedBugSVN2011-12-30provide userInfo when raising database errors
#19438ClosedBug1.6.42012-05-27MDB2 container does not handle non string value properly
#19670ClosedReq1.6.42012-10-23Session_Name
#19704ClosedBug1.6.42012-11-14Array to string conversion notice pops up
#19805ClosedReq1.6.42013-01-29Please Provides LICENSE file
#19806ClosedBug1.6.42013-01-29Bad role for md5.js
#20054ClosedBug1.6.42013-08-23Auth package files installed to wrong directory
#20221BogusReqUnknown2014-03-17Verify cert for LDAP
#20394SpamDoc1.6.42014-09-06Watch// Million Dollar Arm [ONLINE FOR FREE]
#20474SpamBugUnknown2014-12-29pehar
#23767OpenReq1.6.42018-09-03PHP7.2 Reference Error