forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite48b19c
committed
Generate new LOG for "trust" connections under log_connections
Adding an extra LOG for connections that have not set an authn ID, likewhen the "trust" authentication method is used, is useful for auditpurposes.A couple of TAP tests for SSL and authentication need to be tweaked toadapt to this new LOG generated, as some scenarios expected no logs butthey now get a hit.Reported-by: Shaun ThomasAuthor: Jacob ChampionReviewed-by: Robert Haas, Michael PaquierDiscussion:https://postgr.es/m/CAFdbL1N7-GF-ZXKaB3XuGA+CkSmnjFvqb8hgjMnDfd+uhL2u-A@mail.gmail.com1 parent1a4fd77 commite48b19c
File tree
3 files changed
+24
-8
lines changed- src
- backend/libpq
- test
- authentication/t
- ssl/t
3 files changed
+24
-8
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
645 | 645 |
| |
646 | 646 |
| |
647 | 647 |
| |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
648 | 664 |
| |
649 | 665 |
| |
650 | 666 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
139 |
| - | |
140 |
| - | |
| 139 | + | |
141 | 140 |
| |
142 | 141 |
| |
143 |
| - | |
| 142 | + | |
| 143 | + | |
144 | 144 |
| |
145 |
| - | |
| 145 | + | |
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
800 | 800 |
| |
801 | 801 |
| |
802 | 802 |
| |
803 |
| - | |
804 |
| - | |
| 803 | + | |
| 804 | + | |
805 | 805 |
| |
806 | 806 |
| |
807 | 807 |
| |
| |||
818 | 818 |
| |
819 | 819 |
| |
820 | 820 |
| |
821 |
| - | |
822 |
| - | |
| 821 | + | |
| 822 | + | |
823 | 823 |
| |
824 | 824 |
| |
825 | 825 |
| |
|
0 commit comments
Comments
(0)