- Notifications
You must be signed in to change notification settings - Fork5
Commit72c53ac
committed
Allow kerberos name and username case sensitivity to be specified frompostgresql.conf.---------------------------------------------------------------------------Here's an updated version of the patch, with the following changes:1) No longer uses "service name" as "application version". It's insteadhardcoded as "postgres". It could be argued that this part should bebackpatched to 8.0, but it doesn't make a big difference until you canstart changing it with GUC / connection parameters. This change onlyaffects kerberos 5, not 4.2) Now downcases kerberos usernames when the client is running on win32.3) Adds guc option for "krb_caseins_users" to make the server ignorecase mismatch which is required by some KDCs such as Active Directory.Off by default, per discussion with Tom. This change only affectskerberos 5, not 4.4) Updated so it doesn't conflict with the rendevouz/bonjour patchalready in ;-)Magnus Hagander
1 parentd995014 commit72c53ac
File tree
14 files changed
+167
-52
lines changed- doc/src/sgml
- src
- backend
- libpq
- utils/misc
- include
- libpq
- interfaces/libpq
14 files changed
+167
-52
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
869 | 869 |
| |
870 | 870 |
| |
871 | 871 |
| |
872 |
| - | |
| 872 | + | |
873 | 873 |
| |
874 | 874 |
| |
875 | 875 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
447 | 447 |
| |
448 | 448 |
| |
449 | 449 |
| |
450 |
| - | |
| 450 | + | |
451 | 451 |
| |
452 | 452 |
| |
453 | 453 |
| |
454 |
| - | |
| 454 | + | |
455 | 455 |
| |
456 | 456 |
| |
457 | 457 |
| |
|
Lines changed: 25 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
617 | 617 |
| |
618 | 618 |
| |
619 | 619 |
| |
620 |
| - | |
| 620 | + | |
621 | 621 |
| |
622 | 622 |
| |
623 | 623 |
| |
| |||
626 | 626 |
| |
627 | 627 |
| |
628 | 628 |
| |
629 |
| - | |
630 |
| - | |
631 |
| - | |
632 |
| - | |
633 |
| - | |
634 |
| - | |
635 |
| - | |
636 |
| - | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
637 | 632 |
| |
638 | 633 |
| |
639 | 634 |
| |
640 | 635 |
| |
641 | 636 |
| |
642 |
| - | |
643 |
| - | |
644 |
| - | |
645 |
| - | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
646 | 652 |
| |
647 | 653 |
| |
648 | 654 |
| |
| |||
658 | 664 |
| |
659 | 665 |
| |
660 | 666 |
| |
661 |
| - | |
| 667 | + | |
662 | 668 |
| |
663 | 669 |
| |
664 | 670 |
| |
665 | 671 |
| |
666 |
| - | |
| 672 | + | |
667 | 673 |
| |
668 | 674 |
| |
669 | 675 |
| |
670 | 676 |
| |
671 | 677 |
| |
672 | 678 |
| |
673 | 679 |
| |
674 |
| - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
675 | 683 |
| |
676 | 684 |
| |
677 | 685 |
| |
678 | 686 |
| |
679 |
| - | |
680 | 687 |
| |
681 | 688 |
| |
682 | 689 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
816 | 816 |
| |
817 | 817 |
| |
818 | 818 |
| |
819 |
| - | |
820 |
| - | |
| 819 | + | |
| 820 | + | |
821 | 821 |
| |
822 | 822 |
| |
823 | 823 |
| |
|
Lines changed: 22 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
279 | 279 |
| |
280 | 280 |
| |
281 | 281 |
| |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
282 | 294 |
| |
283 | 295 |
| |
284 | 296 |
| |
| |||
3770 | 3782 |
| |
3771 | 3783 |
| |
3772 | 3784 |
| |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
| 3791 | + | |
| 3792 | + | |
| 3793 | + | |
3773 | 3794 |
| |
3774 | 3795 |
| |
3775 | 3796 |
| |
|
Lines changed: 30 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
955 | 955 |
| |
956 | 956 |
| |
957 | 957 |
| |
958 |
| - | |
| 958 | + | |
| 959 | + | |
959 | 960 |
| |
960 | 961 |
| |
961 | 962 |
| |
962 | 963 |
| |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
963 | 991 |
| |
964 | 992 |
| |
965 | 993 |
| |
|
Lines changed: 13 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
| 45 | + | |
44 | 46 |
| |
45 | 47 |
| |
46 | 48 |
| |
| |||
99 | 101 |
| |
100 | 102 |
| |
101 | 103 |
| |
102 |
| - | |
| 104 | + | |
103 | 105 |
| |
104 | 106 |
| |
105 | 107 |
| |
| |||
219 | 221 |
| |
220 | 222 |
| |
221 | 223 |
| |
222 |
| - | |
| 224 | + | |
223 | 225 |
| |
224 | 226 |
| |
225 | 227 |
| |
226 | 228 |
| |
227 | 229 |
| |
228 |
| - | |
| 230 | + | |
229 | 231 |
| |
230 | 232 |
| |
231 |
| - | |
| 233 | + | |
232 | 234 |
| |
233 | 235 |
| |
234 | 236 |
| |
| |||
264 | 266 |
| |
265 | 267 |
| |
266 | 268 |
| |
267 |
| - | |
| 269 | + | |
268 | 270 |
| |
269 | 271 |
| |
270 | 272 |
| |
| |||
303 | 305 |
| |
304 | 306 |
| |
305 | 307 |
| |
306 |
| - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
307 | 313 |
| |
308 | 314 |
| |
309 | 315 |
| |
|
Lines changed: 22 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 |
| |
67 | 70 |
| |
68 | 71 |
| |
| |||
860 | 863 |
| |
861 | 864 |
| |
862 | 865 |
| |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
863 | 875 |
| |
864 | 876 |
| |
865 | 877 |
| |
| |||
1572 | 1584 |
| |
1573 | 1585 |
| |
1574 | 1586 |
| |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
1575 | 1596 |
| |
1576 | 1597 |
| |
1577 | 1598 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
67 |
| - | |
68 | 67 |
| |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
69 | 72 |
| |
70 | 73 |
| |
71 | 74 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
| 31 | + | |
30 | 32 |
| |
31 | 33 |
|
0 commit comments
Comments
(0)