aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl_cyrus.lua
diff options
context:
space:
mode:
authorPaul Aurich <paul@darkrain42.org>2010-03-15 23:02:16 -0700
committerPaul Aurich <paul@darkrain42.org>2010-03-15 23:02:16 -0700
commit94fe1f356832c56d3b434d957efc5e4894c14a02 (patch)
treea1fa4f59bdbfab99410b1e0eb0c687b7501dbbe6 /util/sasl_cyrus.lua
parent0e5656f1e924487a0a77f7a3c3905b61187569bd (diff)
downloadprosody-94fe1f356832c56d3b434d957efc5e4894c14a02.tar.gz
prosody-94fe1f356832c56d3b434d957efc5e4894c14a02.zip
util.cyrus_sasl: Pass the realm to Cyrus
Diffstat (limited to 'util/sasl_cyrus.lua')
-rw-r--r--util/sasl_cyrus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua
index 980af598..132da533 100644
--- a/util/sasl_cyrus.lua
+++ b/util/sasl_cyrus.lua
@@ -52,7 +52,7 @@ function new(realm, service_name)
sasl_i.realm = realm;
sasl_i.service_name = service_name;
- sasl_i.cyrus = cyrussasl.server_new(service_name, nil, nil, nil, nil)
+ sasl_i.cyrus = cyrussasl.server_new(service_name, nil, realm, nil, nil)
if sasl_i.cyrus == 0 then
log("error", "got NULL return value from server_new")
return nil;