summaryrefslogtreecommitdiffstats
path: root/src/mad-server.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/mad-server.conf')
-rw-r--r--src/mad-server.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mad-server.conf b/src/mad-server.conf
new file mode 100644
index 0000000..bd4672c
--- /dev/null
+++ b/src/mad-server.conf
@@ -0,0 +1,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
+ #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
+}