Re: Bug#299733: [exim-dev] [Debian issue #299733] exim4: $pr…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: exim-dev
CC: Marc Haber
Subject: Re: Bug#299733: [exim-dev] [Debian issue #299733] exim4: $primary_hostname not expanded in cyrus_sasl authenicator
Here's the patch.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



*** exim-4.50/src/auths/cyrus_sasl.c        Thu Feb 17 14:49:11 2005
--- auths/cyrus_sasl.c    Tue Apr  5 15:02:30 2005
***************
*** 190,197 ****
    return DEFER;
    }


! rc=sasl_server_new(CS ob->server_service, CS ob->server_hostname,
!                    CS ob->server_realm, NULL, NULL, NULL, 0, &conn);
  if( rc != SASL_OK )
    {
    auth_defer_msg = US"couldn't initialise Cyrus SASL connection";
--- 190,198 ----
    return DEFER;
    }


! 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";