forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit288b428
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 parent291c025 commit288b428
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
57 |
| - | |
| 56 | + | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
0 commit comments
Comments
(0)