summaryrefslogtreecommitdiff
path: root/inc/auth
Commit message (Collapse)AuthorAge
* cleanID on passforgot action #861Andreas Gohr2006-09-16
| | | | darcs-hash:20060916194626-7ad00-2eeb07a509c95359a9bd1b164db4af7279b7f330.gz
* fixed auth problem introduced in last unittest fixAndreas Gohr2006-08-05
| | | | darcs-hash:20060805163147-7ad00-77e7d9cd88f012cd2ecc6275a574abde30f4a9be.gz
* fix for php5's more stringent type checking in foreach (auth/mysql.class.php)chris2006-08-04
| | | | | | as described at http://wiki.splitbrain.org/wiki:auth:mysql#using_mysql_5 darcs-hash:20060803231253-9b6ab-bbf06ef1e9141c5ec1d3c79dad7f88481296ad8b.gz
* changed inheritance for pgsql auth backendAndreas Gohr2006-06-11
| | | | | | | Because of incompatible SQL syntax the postgres backend can no longer inherit the retrieveUsers method from the MySQL backend darcs-hash:20060611170748-7ad00-83c69718da2f391e44504638b795956cf412fca0.gz
* MySQL 3.23 compatibility issuematthiasgrimm2006-06-11
| | | | | | | MySQL 3.23 doesn't support the keyword OFFSET in the LIMIT statement. This patch changes the code to the second alternative syntax. darcs-hash:20060611164347-7ef76-b38861cebe45604c253bd4436451825733fe7083.gz
* MySQL Bug - PHP warning if query result is emptymatthiasgrimm2006-05-22
| | | | | | | | If a database query has no result, the returned array is not valid. This caused a PHP warning in the user manager if the filter is set in a way that the result list is empty. darcs-hash:20060522162327-7ef76-d8fa89a047a9a159b600f11ccb189e845b2a5b8f.gz
* ldap auth fix #762Andreas Gohr2006-03-31
| | | | darcs-hash:20060331081201-7ad00-ad95897fb68ce105c586c80ce7b1ff0ccb4840a6.gz
* use 389 as standard port in ldap authAndreas Gohr2006-03-14
| | | | darcs-hash:20060314191118-7ad00-371b7be42bd6abfcd7f0cdb97a19b02422b4a7b8.gz
* fixed port assignment in ldap backendAndreas Gohr2006-03-07
| | | | darcs-hash:20060307191915-7ad00-70d98478ebfd00fdbab4901bb254b96d20287348.gz
* punbb backend dies when magic quotes enabledAndreas Gohr2006-03-03
| | | | darcs-hash:20060303214459-7ad00-17f399257acafed5914eeb727b45b2fa984f00e8.gz
* Allow non-ID names in ACLsAndreas Gohr2006-03-02
| | | | | | | | | Some auth backends allow special chars like whitespaces in user and group names. This made problems with the existing ACL checks and ACL manager. This patch makes the ACL system work with these cases by (url)encoding all special chars below 128. darcs-hash:20060302101850-6e07b-14bda9dbdb3528904325419b35bb9eddb0d1dde3.gz
* Postgres backend for new OO authAndreas Gohr2006-03-01
| | | | darcs-hash:20060301223021-7ad00-868d32088de468523c63c4cc7e44869331dfc4b9.gz
* file cleanupsAndreas Gohr2006-02-17
| | | | | | | | | | This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
* fixed password mailAndreas Gohr2006-02-17
| | | | | | | There was an error which caused the mail aent on registration to contain the crypted password instead of the cleartext one. darcs-hash:20060217180715-7ad00-88b2e8f74ddbad41300ca53bbf79df3d8d8beebc.gz
* updated auth_punbbAndreas Gohr2006-02-11
| | | | darcs-hash:20060211180240-7ad00-c7c589aa6e5e67f2d7ad54f7e41837f116a91c9c.gz
* MySQL cando updatematthiasgrimm2006-02-08
| | | | | | This patch fixed the cando capabilities array. darcs-hash:20060208185913-7ef76-b6e999ebd2ecfbf3d3b50305cee88d6eb85a3b65.gz
* new way of auth module capability checkingAndreas Gohr2006-02-03
| | | | | | | | | | This changes the way of how the capabilities of the used auth module are checked as suggested as first option in http://www.freelists.org/archives/dokuwiki/01-2006/msg00267.html The MySQL backend WAS NOT TESTED and probably needs some work. darcs-hash:20060203150302-7ad00-c524cafe20499f32e76ad42b4e68d7c635f6a9e9.gz
* optional READ Lockmatthiasgrimm2006-02-01
| | | | | | | | | | | The option TablesToLock is no longer required for read operations. The small risk to feed invalid data into dokuwiki was accepted by the project leader. Nevertheless locks will be used for read operations too, if the option 'TablesToLock' is given. darcs-hash:20060201181422-7ef76-e89c5d9c305ca8c076281a58b6208e60dfce4c9f.gz
* some fix for getUserData in the LDAP auth backendNathan Neulinger2006-01-31
| | | | darcs-hash:20060131222058-effc9-0d09141c02e3698329d038af90588b553fd6a44b.gz
* MySQL canDo() patchmatthiasgrimm2006-01-30
| | | | | | | | | | | | | | | This patch adds a canDo() function to the MySQL backend to give higher program levels the opportunity to find out what functions the MySQL backend provides. Furthermore the option encryptPass was renamed to forwardClearPass because the old name was misleading and not clear. Last but not least the mysql.conf.php was reorganized to make clear which SQL statements enable which functions. darcs-hash:20060130192750-7ef76-2ba9388ea56b17e4f26feda74a66b7d9b8da7333.gz
* MySQL getUserCount() optimizsationmatthiasgrimm2006-01-26
| | | | | | | | The function getUserCount() uses SQL_CALC_FOUND_ROWS now if MySQL v4.0 or later is found. This will speed up this query with big user tables. darcs-hash:20060126205715-7ef76-e3a7009ad6be3659002b562bc055e4fe1cbd904a.gz
* MySQL retrieveUsers() use LIMITmatthiasgrimm2006-01-26
| | | | | | | | The function retrieveUsers() uses the SQL statement LIMIT now to select a subset of tupel out of a result table instead of fetching the whole table and filter in PHP. darcs-hash:20060126195109-7ef76-79af82f95282d43b585a67b495bfa86c2f5e3a15.gz
* ldap auth fixesAndreas Gohr2006-01-26
| | | | | | | Adds a config option for the key using in groups as suggested on the wiki. Makes the debug outputs distinct. Removes commented, nonimplemented functions. darcs-hash:20060126214935-7ad00-e4ab08d9fcaa4f43bad7048e8bb9800107e32432.gz
* oo auth update - remove legacy auth remnants, add auth->canDochris2006-01-25
| | | | darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz
* MySQL modify user patchmatthiasgrimm2006-01-24
| | | | | | | | | | | | | | | | This patch changed the function modifyUser(). Before this update each data change was applied by deleting and re-adding the complete user entry. The new function uses the UPDATE SQL statement. Furthermore all human readable error messages were removed. The calling procedure is in charge now to inform the user about failures. Internal debug messages were added. They can be enabled in the configuration file. Last but not least the module retrieves the database version now to handle incompatible features between different MySQL versions. darcs-hash:20060124190625-7ef76-f6dffabf230155aa51bf3c8569c31fd444634407.gz
* MySQL backend code cleanup fixmatthiasgrimm2006-01-22
| | | | | | This patch make the MySQL backend work again after Andi's code cleanup ;-) darcs-hash:20060122125327-7ef76-5b7a46fa8bc49fc68a11a44fabddc9753e9a1dfb.gz
* streamlining auth backends :!:Andreas Gohr2006-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is a start to make all the auth backend mor alike in configuration and to update all backend to the new OO method. This patch changed some config placeholders and thus may break existing configs! Here is a list of the new place holders used in MySQL and LDAP: %{user} - the login name %{group} - a group name %{pass} - the password (cleartext or crypted) %{dgroup} - the default group %{guid} - a group id %{uid} - a user id %{name} - full name of a user %{email} - email of a user %{dn} - DN for a user (LDAP only) The LDAP backend was enhanced a little bit. The default group now is always added to the list of returned groups. A different Server Port can be configured. More changes will follow. darcs-hash:20060121181149-7ad00-79de68aa7f87aef87dcff9dd7afd50adda859289.gz
* spellfix for mysql auth backendAndreas Gohr2006-01-21
| | | | darcs-hash:20060121152740-7ad00-80eecea2be4754494fef5f11cc91d7f3e4acf1fb.gz
* external authenticationAndreas Gohr2006-01-10
| | | | | | | | | This patch adds the functionality to override the usual auth_mechanism completely and replace it with your own. This can be used to authenticate against Apache auth mechanisms or third party software cookies. A very basic example for using PunBB's $pun_user variable is included. darcs-hash:20060110092903-6e07b-7c7750da4eb4e9116ddc28c77015488ea500c07d.gz
* mysql class password encryption bugfixmatthiasgrimm2006-01-07
| | | | | | | | A syntax error in the checkpass() function prevented the module from using password encryption by the database. It always did the password encryption by itself - fixed. darcs-hash:20060107114635-7ef76-0eeee13b57844097e83f14d85372502e6b1ce10e.gz
* change username fixmatthiasgrimm2005-11-11
| | | | | | | This patch adds support for changing the username in modifyUser() which is needed by the user manager. darcs-hash:20051111185816-7ef76-062a7d949beaa90981d4fef8dfa70edc9d4723e6.gz
* MySQL OO auth module bug fixMatthias Grimm2005-11-10
| | | | | | | This patch fixes some bugs in the MySQL OO auth module regarding modifying user data. darcs-hash:20051110173812-4145d-384877de723b568ccc456f42738a8a5e012fb84d.gz
* MySQL auth module documentationMatthias Grimm2005-11-07
| | | | | | | | | This patch completes the documentation of the MySQL SQL statements that are necessary to run the mysql OO auth module in mysql.conf.php.example. Some pattern names in the code were not in line - fixed. darcs-hash:20051107210740-4145d-cdf140b6d14664ce9c1a85f67e1bf8feb294c17b.gz
* mysql extension for OO auth systemMatthias Grimm2005-11-06
| | | | | | | | | | | | | This patch adds the mysql extension to the OO auth system. The SQL statements are defined in conf/mysql.conf.php.example and needs to be adapted to the local database. The set of statements work with the database structure described in conf/mysql.conf.php.example. This module is beta and heavy testing in different environments is recommended. The documentation of the SQL statements is not complete yet darcs-hash:20051106130303-4145d-28acb18584822f8d1eafa1d63e206f2e83f64009.gz
* OO_auth_fixesMatthias Grimm2005-11-05
| | | | | | | | | | This patch allows the OO auth module to fail. The basic class got a new property $success that is checked in auth.php. Derived classes might change this calue in their constructors. Beautifying the whitespaces in auth.php completes this patch. darcs-hash:20051105124932-4145d-dfcfa6c3b87d0087b4bffe3e5a29db000b10b242.gz
* auth update, incl. auth object, plain.class.php; resend password & update ↵chris2005-10-20
| | | | | | profile actions darcs-hash:20051020181434-50fdc-44222aa2074bb0e39a1c240c516259579b380740.gz
* auth_getUserData() now caches user info in a staticjoe.lapp2005-09-16
| | | | darcs-hash:20050916205557-36b45-4135c42d0ccfd28c85cfbd7eb57a445c2aa74ffc.gz
* DOKU_CONF define for config directory #479Andreas Gohr2005-07-29
| | | | darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz
* fix for auth_ldap if mapping is not definedAndreas Gohr2005-07-15
| | | | darcs-hash:20050715213645-7ad00-43ef18e24dfa7b4b6459f0bbbcf85b88207c5a9d.gz
* handle missing users.auth and acl.auth gracefullyandi2005-06-20
| | | | darcs-hash:20050620203400-9977f-515a59d1131ae5dafc6c722f893bf6c308121832.gz
* ability to derefence ldap aliases #406Holger Mller2005-06-20
| | | | darcs-hash:20050620194652-d49ea-c85ff90d9107f6a7c81ff3717bdba32d0f405d43.gz
* fixed bug for MySQL passcryptdave.winter2005-06-17
| | | | | | | | | | | | Write the long patch description into this file. The first line of this file will be the patch name. Everything in this file from the above ***DARCS*** line on will be ignored. This patch contains the following changes: M ./inc/auth/mysql.php -1 +2 darcs-hash:20050617124215-c2bc1-4c4a7a3bea1cab76b36a0e5cfc31a22d10fbadc8.gz
* mysql auth: added support for old passchecking method #359andi2005-06-12
| | | | | | | | | | | | | | | | | | | | | | This patch changes the mysql auth mechanism to support the old method of password checking (leaving it to the DB) as well as the new one. Which one is used is decided on which option is defined: $conf['auth']['mysql']['passcheck'] now behaves as in older releases, You can use %u, %g and %p where %p contains the cleartext password entered by the user. Access is granted if the SQL statement returns one result row. if $conf['auth']['mysql']['getpass'] is defined it is used to fetch the crypted password from the database which is then checked with auth_verifyPassword() - This is the preferred method. Users of the devel need to change their config by renaming passcheck to getpass darcs-hash:20050612111044-9977f-545feafc098082a067fdbbbc7d7d3a61c5903590.gz
* directory layout cleanup !IMPORTANTandi2005-06-05
This patch changes the directory structure of dokuwiki as suggested in http://www.freelists.org/archives/dokuwiki/06-2005/msg00045.html As the changes.log is not managed through darcs you need to move it your self to the new location in data/changes.log I think I modified the code at all nessessary places, but I may have forgotten a few things. darcs-hash:20050605103842-9977f-af20f63c1d604888375d175d89ac6bd71566d47d.gz