Software /
code /
prosody
Diff
util/sasl_cyrus.lua @ 2881:4e6c6b1ddce7
util.cyrus_sasl: Pass the realm to Cyrus
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 15 Mar 2010 23:02:16 -0700 |
parent | 2720:289f68e704da |
child | 2895:ea5fe15a82f5 |
line wrap: on
line diff
--- a/util/sasl_cyrus.lua Wed Mar 17 03:16:43 2010 +0500 +++ b/util/sasl_cyrus.lua Mon Mar 15 23:02:16 2010 -0700 @@ -52,7 +52,7 @@ 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;