Changeset

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
parents 2880:a3f6cc3417f2
children 2888:ab6dac843e9c
files util/sasl_cyrus.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;