DokuWiki

It's better when it's simple

User Tools

Site Tools


auth:plain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
auth:plain [2013-05-28 00:13] Klap-inauth:plain [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Plain Text Authentication Backend ====== 
- 
-| Since the release 2013-05-10 “Weatherwax”\\ see [[plugin:AuthPlain]] plugin page\\ \\ For releases 2012-10-13 “Adora Belle” and older\\ see info below| 
- 
-This backend uses a plain text file //conf/users.auth.php// to store user information and passwords. Passwords are stored using one way encryption (aka. hashing). 
- 
-This is the default backend. 
- 
- 
-===== Configuration ===== 
- 
-The backend will be enabled with the [[config:authtype]] configuration option 
- 
-<code php> 
-$conf['authtype'] = "plain"; 
-</code> 
- 
-(this should be in your conf/local.php ) 
- 
- 
- 
- 
-===== File Format ===== 
- 
-Empty lines, and everything after a ''#'' character are ignored. Each line contains a colon separated array of 5 fields which are:  
- 
-  * **Login** - This has to be a valid [[:pagename]] 
-  * **Password** - Encrypted password. The encryption method can be anything accepted by [[config:passcrypt|passcrypt option]] (DokuWiki will autodetect the used encryption) 
-  * **Real Name** - Real name of the user 
-  * **E-Mail** - Email address of user 
-  * **Groups** - Comma separated list of groups a user is member of. The group names must follow the rules of valid [[:pagename]]s. 
- 
-To create MD5 hash values from a string you could use the script [[http://www.splitbrain.org/encode.php|encode/decode]]. Due to the much better built-in functions of DokuWiki this script is deprecated and only stored here for nostalgia. 
- 
-Example: 
- 
-  andi:ece23254502f07722a98aa5b7c70baa6:Andreas Gohr:andi@splitbrain.org:admin,users,upload 
- 
-===== Editing ===== 
- 
-Since //conf/users.auth.php// is a plain text file, it can be edited with any text editor. 
  
auth/plain.1369692836.txt.gz · Last modified: 2013-05-28 00:13 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki