aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commita99005ba14c20a08860a27e5041beccc530be6a1 (patch)
tree3fafda34ec93950e3743d26c2d77cf6fde25ade8 /util
parent2283fae9c1b85932f6386e8eb421a3c6a319aa84 (diff)
downloadprosody-a99005ba14c20a08860a27e5041beccc530be6a1.tar.gz
prosody-a99005ba14c20a08860a27e5041beccc530be6a1.zip
util.cyrus_sasl: Pass the realm to Cyrus
Diffstat (limited to 'util')
-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;