diff options
| author | Tom Lane | 2023-07-27 16:07:48 +0000 |
|---|---|---|
| committer | Tom Lane | 2023-07-27 16:07:48 +0000 |
| commit | 1d031ad54d37dc6a9037af092dafa06251b85434 (patch) | |
| tree | 0baab725466224ae96be25f582b91ea51da81088 /doc/src | |
| parent | fd7c944690b24d3e5bc728c7fb844dec5f7ca92d (diff) | |
Raise fixed token-length limit in hba.c.
Historically, hba.c limited tokens in the authentication configuration
files (pg_hba.conf and pg_ident.conf) to less than 256 bytes. We have
seen a few reports of this limit causing problems; notably, for
moderately-complex LDAP configurations. Increase the limit to 10240
bytes as a low-risk stop-gap solution.
In v13 and earlier, this also requires raising MAX_LINE, the limit
on overall line length. I'm hesitant to make this code consume
too much stack space, so I only raised that to 20480 bytes.
Discussion: https://postgr.es/m/1588937.1690221208@sss.pgh.pa.us
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions
