forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5644419
committed
Set include_realm=1 default in parse_hba_line
With include_realm=1 being set down in parse_hba_auth_opt, if multipleoptions are passed on the pg_hba line, such as:host all all 0.0.0.0/0 gss include_realm=0 krb_realm=XYZ.COMWe would mistakenly reset include_realm back to 1. Instead, we need toset include_realm=1 up in parse_hba_line, prior to parsing any of theadditional options.Discovered by Jeff McCormick during testing.Bug introduced by9a08841.Back-patch to 9.51 parent8a1fab3 commit5644419
1 file changed
+13
-13
lines changedLines changed: 13 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1274 | 1274 |
| |
1275 | 1275 |
| |
1276 | 1276 |
| |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
1277 | 1290 |
| |
1278 | 1291 |
| |
1279 | 1292 |
| |
| |||
1376 | 1389 |
| |
1377 | 1390 |
| |
1378 | 1391 |
| |
1379 |
| - | |
1380 |
| - | |
1381 |
| - | |
1382 |
| - | |
1383 |
| - | |
1384 |
| - | |
1385 |
| - | |
1386 |
| - | |
1387 |
| - | |
1388 |
| - | |
1389 |
| - | |
1390 |
| - | |
1391 |
| - | |
1392 | 1392 |
| |
1393 | 1393 |
| |
1394 | 1394 |
| |
|
0 commit comments
Comments
(0)