forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit313ceda
committed
Raise fixed token-length limit in hba.c.
Historically, hba.c limited tokens in the authentication configurationfiles (pg_hba.conf and pg_ident.conf) to less than 256 bytes. We haveseen a few reports of this limit causing problems; notably, formoderately-complex LDAP configurations. Increase the limit to 10240bytes as a low-risk stop-gap solution.In v13 and earlier, this also requires raising MAX_LINE, the limiton overall line length. I'm hesitant to make this code consumetoo much stack space, so I only raised that to 20480 bytes.Discussion:https://postgr.es/m/1588937.1690221208@sss.pgh.pa.us1 parent2864eb9 commit313ceda
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments
Comments
(0)