postgresql/src/backend
Peter Eisentraut f8d03ea727 Remove unnecessary unbind in LDAP search+bind mode
Comments in src/backend/libpq/auth.c say: (after successfully finding
the final DN to check the user-supplied password against)

/* Unbind and disconnect from the LDAP server */

and later

/*
 * Need to re-initialize the LDAP connection, so that we can bind to
 * it with a different username.
 */

But the protocol actually permits multiple subsequent authentications
("binds") over a single connection.

So, it seems like the whole connection re-initialization thing was
just a confusion and can be safely removed, thus saving quite a few
network round-trips, especially for the case of ldaps/starttls.

Author: Anatoly Zaretsky <anatoly.zaretsky@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CALbq6kmJ-1+58df4B51ctPfTOSyPbY8Qi2=ct8oR=i4TamkUoQ@mail.gmail.com
2023-07-09 08:51:46 +02:00
..
access Document relaxed HOT for summarizing indexes 2023-07-07 19:04:53 +02:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
bootstrap Fix CREATE INDEX progress reporting for multi-level partitioning. 2023-03-25 15:34:03 -04:00
catalog Revert MAINTAIN privilege and pg_maintain predefined role. 2023-07-07 11:25:13 -07:00
commands All supported systems have locale_t. 2023-07-09 11:55:18 +12:00
executor Fix memory leak in Incremental Sort rescans 2023-07-02 20:03:30 +02:00
foreign Expand some more uses of "deleg" to "delegation" or "delegated". 2023-05-21 10:55:18 -04:00
jit Fix leak of LLVM "fatal-on-oom" section counter. 2023-07-05 13:13:13 +03:00
lib Fix ILIST_DEBUG build 2023-01-18 10:26:15 -08:00
libpq Remove unnecessary unbind in LDAP search+bind mode 2023-07-09 08:51:46 +02:00
main Remove obsolete defense against strxfrm() bugs. 2023-04-20 13:20:14 +12:00
nodes Remove trailing zero words from Bitmapsets 2023-07-04 12:34:48 +12:00
optimizer Fix code indentation vioaltion introduced in commit cc32ec24fd. 2023-07-06 11:49:18 +05:30
parser Make some indentation in gram.y consistent 2023-07-08 15:56:01 +02:00
partitioning Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
po Translation updates 2023-06-26 12:02:02 +02:00
port Add GUC parameter "huge_pages_status" 2023-07-06 14:42:36 +09:00
postmaster Increase size of bgw_library_name. 2023-07-03 15:02:16 -07:00
regex All supported systems have locale_t. 2023-07-09 11:55:18 +12:00
replication Handle \v as a whitespace character in parsers 2023-07-06 08:16:24 +09:00
rewrite A minor simplification for List manipulation 2023-07-03 11:39:03 +02:00
snowball Fix the install rule for snowball_create.sql. 2023-05-23 11:15:57 -04:00
statistics Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
storage Add GUC parameter "huge_pages_status" 2023-07-06 14:42:36 +09:00
tcop Handle logical slot conflicts on standby 2023-04-08 00:05:44 -07:00
tsearch Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
utils All supported systems have locale_t. 2023-07-09 11:55:18 +12:00
.gitignore
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile Generate automatically code and documentation related to wait events 2023-07-05 10:53:11 +09:00
meson.build Add win32ver data to meson-built postgres.exe. 2023-06-12 07:40:38 -07:00
nls.mk Add missing gettext triggers 2023-05-10 13:51:51 +02:00