Changeset

2897:ffd8091698ee

util.cyrus_sasl: Pass the realm to Cyrus
author Paul Aurich <paul@darkrain42.org>
date Mon, 15 Mar 2010 23:02:16 -0700
parents 2892:9f214431de29
children 2898:da70c26fe61b
files util/sasl_cyrus.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl_cyrus.lua	Thu Mar 18 01:25:50 2010 +0000
+++ 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;