Bug#299733: [exim-dev] [Debian issue #299733] exim4: $primary_hostname not expanded in cyrus_sasl authenicator

Matthew Byng-Maddick Matthew Byng-Maddick <exim@lists.colondot.net>, 299733@bugs.debian.org
Wed, 16 Mar 2005 11:17:35 +0000


On Wed, Mar 16, 2005 at 11:12:03AM +0000, Philip Hazel wrote:
> On Wed, 16 Mar 2005, Marc Haber wrote:
> > this is issue #299733 from the Debian BTS. I am not sure whether this
> > is an issue with exim, but since the authenticators doesn't set any
> > server_hostname itself, I suspect the issue is with not expanding the
> > default.
> Looks like a trivial typo; it does expand server_hostname, but then it 
> doesn't use the result! (And as this was not my original code, I refuse 
> to take the blame... :-)

Ooops. :-) I thought I'd fixed that. Oh well...

> The fix would seem to be to find these lines:
> rc=sasl_server_new(CS ob->server_service, CS ob->server_hostname,
>                    CS ob->server_realm, NULL, NULL, NULL, 0, &conn);
> and replease "ob->server_hostname" by "hname".

I think this is what I did.

Cheers

MBM

-- 
Matthew Byng-Maddick          <mbm@colondot.net>           http://colondot.net/
                      (Please use this address to reply)