summaryrefslogtreecommitdiff
path: root/sample/httpauthd.conf
blob: 9e4b0e10811b9baec0f6240988eb91a370b4ccff (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Some comments

# and blank lines
MaxThreads: 18
CacheTimeout: 300
# AuthTypes: Digest
AuthTypes: Basic Digest
# AuthTypes: Basic
Socket: 0.0.0.0

# DigestIgnoreNC: True

[Simple:UDBsim]
Realm: blah
PasswordFile: /data/projects/httpauth/sample/passwd.file

[LDAP:UDBldap]
Realm: blah
LDAPServers: authdev.ws.local
LDAPDoBind: False
LDAPDNMap: cn=%u,ou=test,dc=fam
LDAPUser: cn=root,dc=fam
LDAPPassword: ldaptest@@password
LDAPHA1Attr: clearPassword
LDAPPWAttr: clearPassword
# DigestDebugNonce: AkCLQA==560f26e24db2d4cecbe5d6e24d958377ab73def9
LDAPFilter: (cn=%u)
LDAPBase: dc=fam
LDAPScope: sub

[PGSQL:UDB]
Realm: blah
DBServer: sean-2
DBUser: testuser
DBPassword: testuser
DBDatabase: test
DBQuery: SELECT * from testauth WHERE username = '%u';
# DBPWType: md5
DBHA1Column: pw

[MYSQL:UDBmy]
Realm: blah
DBServer: var/lib/mysql/mysql.sock
DBUser: testuser
DBPassword: testuser
DBDatabase: test
DBQuery: UPDATE testauth SET name = 'testo';
# DBQuery: SELECT pw from testauth WHERE name = '%u';
# DBPWType: crypt
# DBHA1Column: pw