Re: Add support for RADIUS passwords longer than 16 octets

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Marko Tiikkaja <marko(at)joh(dot)to>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Add support for RADIUS passwords longer than 16 octets
Date: 2015-09-06 12:38:27
Message-ID: CABUevEx9e6njPw=vz-DcHwkf8OO=TgQr-ZX=6RPSJk7O4u8CZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 18, 2015 at 11:36 PM, Marko Tiikkaja <marko(at)joh(dot)to> wrote:

> On 2015-08-15 17:55, I wrote:
>
>> The attached patch adds support for RADIUS passwords longer than 16
>> octets.
>>
>
> Improved the coding and comments a bit, new version attached.

Looks good to me. Applied, thanks!

As a note - psql truncates passwords at 100 characters when it reads it
from the problem (in the connstr it's fine). Not sure we care enough to
change that, though - I doubt it's a very common usecase for psql...

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2015-09-06 13:10:24 Separating Buffer LWlocks
Previous Message Andres Freund 2015-09-06 12:28:39 Re: Waits monitoring