Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2012-02-13 16:27:48 +0400
committerMichal Čihař <mcihar@suse.cz>2012-02-13 16:27:48 +0400
commit281673677c41bf2f75165dbf7a5cb1091561ac9b (patch)
tree0384e03fe3417eed81930dce6713a0737274f845 /examples
parenta6314d1dde2c420d8fa61264f63e0eecf57a121b (diff)
Move swekey config file to exxamples folder
Diffstat (limited to 'examples')
-rw-r--r--examples/swekey.sample.conf44
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/swekey.sample.conf b/examples/swekey.sample.conf
new file mode 100644
index 0000000000..ebf1aedf02
--- /dev/null
+++ b/examples/swekey.sample.conf
@@ -0,0 +1,44 @@
+# This is a typical file used to enable Swekey hardware authentication.
+#
+# To activate the Swekey authentication add the following line to your config.inc.php file.
+# $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';
+# Then rename this file "swekey-pma.conf" and copy it to the /etc directory.
+# Add all the Swekey ids you want to grant access to in the file.
+# After each Swekey id put the corresponding user name.
+#
+# If you don't know the id of a Swekey just visit http://www.swekey.com?sel=support
+# while your Swekey is connected.
+#
+# If you need to purchase a Swekey please visit http://phpmyadmin.net/auth_key
+# since this link provides funding to PhpMyAdmin.
+#
+
+0000000000000000000000000000763A:root
+000000000000000000000000000089E4:steve
+0000000000000000000000000000231E:scott
+
+#
+# It is recommended to include the following lines to contact the
+# authentication servers in SSL mode.
+#
+
+SERVER_CHECK=https://auth-check-ssl.musbe.net
+SERVER_RNDTOKEN=https://auth-rnd-gen-ssl.musbe.net
+SERVER_STATUS=https://auth-status-ssl.musbe.net
+
+#
+# The path of the root certificate file used to ensure a secure
+# communication with the authentication servers in SSL mode.
+# If not specified, will use musbe-ca.crt found in your
+# phpMyAdmin/libraries/auth/swekey.
+#
+
+#CA_FILE=/var/http-root/phpmyadmin/libraries/auth/swekey/musbe-ca.crt
+
+#
+# If your server receives many login requests, you can enable the random
+# token caching to accelerate the authentication process.
+# Token caching is enabled by default.
+#
+
+#ENABLE_TOKEN_CACHE=0