summaryrefslogtreecommitdiffstats
path: root/src/mad-server.conf
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-04-29 19:57:50 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-04-29 19:57:50 +0200
commit7c8a134b082e1224a6ece26cefdf939753088e2c (patch)
tree2400eb68900ff6f6be1e1b808b00c23a76a04877 /src/mad-server.conf
parent5a61159a11e1db775a2b5dfebc46c12ff2616b5a (diff)
downloadmad-7c8a134b082e1224a6ece26cefdf939753088e2c.tar
mad-7c8a134b082e1224a6ece26cefdf939753088e2c.zip
Core in Server umbenannt
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
+}