summaryrefslogtreecommitdiff
path: root/inc/auth/mysql.php
Commit message (Collapse)AuthorAge
* 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
* 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