diff options
author | Paul Aurich <paul@darkrain42.org> | 2010-03-15 23:02:16 -0700 |
---|---|---|
committer | Paul Aurich <paul@darkrain42.org> | 2010-03-15 23:02:16 -0700 |
commit | 94fe1f356832c56d3b434d957efc5e4894c14a02 (patch) | |
tree | a1fa4f59bdbfab99410b1e0eb0c687b7501dbbe6 | |
parent | 0e5656f1e924487a0a77f7a3c3905b61187569bd (diff) | |
download | prosody-94fe1f356832c56d3b434d957efc5e4894c14a02.tar.gz prosody-94fe1f356832c56d3b434d957efc5e4894c14a02.zip |
util.cyrus_sasl: Pass the realm to Cyrus
-rw-r--r-- | util/sasl_cyrus.lua | 2 |
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; |