summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2005-04-05 14:02:30 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2005-04-05 14:02:30 +0000
commitacb1b3461349256ee2422aa39b6f2d810681ae47 (patch)
treeb53a1a1720a99f6c763ce5db26597e688fea4158 /src
parentcf00dad6749f2b3c2ba9b1e02034b23944b7ee0c (diff)
cyrus_sasl authenticator was not using the expanded hostname (even
though it did expand it :-)
Diffstat (limited to 'src')
-rw-r--r--src/src/auths/cyrus_sasl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/src/auths/cyrus_sasl.c b/src/src/auths/cyrus_sasl.c
index 4d75aa434..849c3d1c0 100644
--- a/src/src/auths/cyrus_sasl.c
+++ b/src/src/auths/cyrus_sasl.c
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/src/src/auths/cyrus_sasl.c,v 1.1 2004/10/07 13:10:01 ph10 Exp $ */
+/* $Cambridge: exim/src/src/auths/cyrus_sasl.c,v 1.2 2005/04/05 14:02:30 ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
@@ -190,8 +190,9 @@ if (rc != SASL_OK)
return DEFER;
}
-rc=sasl_server_new(CS ob->server_service, CS ob->server_hostname,
- CS ob->server_realm, NULL, NULL, NULL, 0, &conn);
+rc=sasl_server_new(CS ob->server_service, CS hname, CS ob->server_realm, NULL,
+ NULL, NULL, 0, &conn);
+
if( rc != SASL_OK )
{
auth_defer_msg = US"couldn't initialise Cyrus SASL connection";