Commit 3ad2afc
committed
Define LDAPS_PORT if it's missing and disable implicit LDAPS on Windows
Some versions of Windows don't define LDAPS_PORT.
Also, Windows' ldap_sslinit() is documented to use LDAPS even if you
said secure=0 when the port number happens to be 636 or 3269. Let's
avoid using the port number to imply that you want LDAPS, so that
connection strings have the same meaning on Windows and Unix.
Author: Thomas Munro
Discussion: https://postgr.es/m/CAEepm%3D23B7GV4AUz3MYH1TKpTv030VHxD2Sn%2BLYWDv8d-qWxww%40mail.gmail.com1 parent c759395 commit 3ad2afc
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2363 | 2363 | | |
2364 | 2364 | | |
2365 | 2365 | | |
2366 | | - | |
2367 | | - | |
2368 | | - | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
2369 | 2370 | | |
2370 | 2371 | | |
2371 | 2372 | | |
| |||
2489 | 2490 | | |
2490 | 2491 | | |
2491 | 2492 | | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
2492 | 2498 | | |
2493 | 2499 | | |
2494 | 2500 | | |
| |||
0 commit comments