]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
SASL user binds do not need to look up the user DN
authorNick Porter <nick@portercomputing.co.uk>
Mon, 28 Aug 2023 16:12:34 +0000 (17:12 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 29 Aug 2023 11:31:15 +0000 (12:31 +0100)
commit9b9ef95cb992773a4b7dfa75d84ad20ec4e4cee2
treeb9c0b45041fa4e89103e7cd59a2a49e3074710b7
parent29930d0bae8230e419cf057e3a690d4b1b4d2403
SASL user binds do not need to look up the user DN

This means that if user binds use SASL, and the LDAP module has not
already been called to retrieve the user object, there is no need to
perform the initial lookup of the DN.

So, in the case that LDAP's sole purpose is to perform authentication
this reduces the number of LDAP calls made.
src/modules/rlm_ldap/rlm_ldap.c