summaryrefslogtreecommitdiff
path: root/cpp/etc/sasl2
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-05-09 18:09:43 +0000
committerGordon Sim <gsim@apache.org>2008-05-09 18:09:43 +0000
commit7f0c95b0e94c964a92c77c7c8c59035ffff35f34 (patch)
tree3615fd0cb4f4b632dfb6bc7d12d8bb577072ac53 /cpp/etc/sasl2
parent207bd72d3029f9cbf9a14606bd3b609a0af8fb67 (diff)
downloadqpid-python-7f0c95b0e94c964a92c77c7c8c59035ffff35f34.tar.gz
QPID-648: Patch from Matt Farrellee
- support for realms - updates to packaging to create a default db and the necessary conf files for plain and anon git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654902 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/etc/sasl2')
-rw-r--r--cpp/etc/sasl2/qpidd.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/cpp/etc/sasl2/qpidd.conf b/cpp/etc/sasl2/qpidd.conf
new file mode 100644
index 0000000000..42466b60cb
--- /dev/null
+++ b/cpp/etc/sasl2/qpidd.conf
@@ -0,0 +1,24 @@
+#
+# This configuation allows for either SASL PLAIN or ANONYMOUS
+# authentication. The PLAIN authentication is done on a
+# username+password, which is stored in the sasldb_path
+# file. Usernames and passwords can be added to the file using the
+# command:
+#
+# saslpasswd2 -f /var/lib/qpidd/qpidd.sasldb -u <REALM> <USER>
+#
+# The REALM is important and should be the same as the --auth-realm
+# option to the broker. This lets the broker properly find the user in
+# the sasldb file.
+#
+# Existing user accounts may be listed with:
+#
+# sasldblistusers2 -f /var/lib/qpidd/qpidd.sasldb
+#
+# NOTE: The sasldb file must be readable by the user running the qpidd
+# daemon, and should be readable only by that user.
+#
+mech_list: plain anonymous
+pwcheck_method: auxprop
+auxprop_plugin: sasldb
+sasldb_path: /var/lib/qpidd/qpidd.sasldb