Re: SASL Binds and meaning of "users"

Quanah Gibson-Mount <[email protected]> Wed, 19 Apr 2023 10:21:04 -0700
Newsgroups gmane.network.openldap.devel
Message-ID <71EE67B4EC844372DB1B9AC4@[192.168.1.15]>

--On Tuesday, April 18, 2023 4:43 PM +0200 Ond=C5=99ej Kuzn=C3=ADk=20
<[email protected]> wrote:

> Recently seen a few people assume that authz-regexp search-based mappings
> enforce that an entry is found or the Bind is failed, which is not the
> case. Obviously the admin guide[0] should be adjusted not to cause more
> confusion but the question remains:
>
> Should we be able to decide whether an identity should be considered a
> "user" (Bind succeeds)?

I'm generally of the opinion that using "by users X" other than "by users=20
none" is a very bad idea and should be avoided, largely for the issues=20
above.  A user is anything that had some sort of success in a BIND=20
operation, whether or not (particularly when dealing with SASL mechanisms)=20
it actually mapped to something in the database.  It's only a small step=20
above "by anonymous X".  There are valid reasons to allow a SASL bind that=20
doesn't actually map to something in the DB.

--Quanah