summaryrefslogtreecommitdiffstats
path: root/src/mad-server.conf
blob: 188833bbd3f7b5a48e73c6ecbacf8ffb5a741fa1 (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
Logger Console
Logger File "mad-server.log"


#Listen *


X509TrustFile ../Cert/ca-cert.pem
#X509CrlFile ../Cert/crl.pem
X509CertFile ../Cert/cert.pem
X509KeyFile ../Cert/key.pem

UserBackendMysql {
  Username test
  Password test
  Database test
  
  Queries {
    ListUsers "SELECT id, gid, username, fullname FROM users"
    ListGroups "SELECT id, name FROM groups"
    #ListUserGroups
    #ListGroupUsers
    UserById "SELECT id, gid, username, fullname FROM users WHERE id = {ID}"
    UserByName "SELECT id, gid, username, fullname FROM users WHERE username = {USER}"
    #GroupById
    #GroupByName
  }
}

Daemon test {
  IpAddress 127.0.0.1
}