summaryrefslogtreecommitdiffstats
path: root/doc/wiki/PasswordDatabase.Static.txt
blob: 21852e22f38a37f187b5df98ff5ec11ed74ca94d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Static Password Database
========================

Static password database is typically used only for testing, proxying setups
and perhaps some other special kind of setups. Static passdb allows all users
to log in with any username. For password you return either:

 * password=secret: All users have "secret" as password.
 * nopassword: Users can log in with any password.

You can return any other <extra fields> [PasswordDatabase.ExtraFields.txt]. You
can use the standard <variables> [Variables.txt] everywhere.

Example
-------

Using <Director.txt>:

---%<-------------------------------------------------------------------------
passdb {
  driver = static
  args = nopassword=y
  default_fields = proxy=y host=127.0.0.1
}
---%<-------------------------------------------------------------------------

(This file was created from the wiki on 2019-06-19 12:42)