Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP
Commits:
70e28be4 by HAMANO Tsukasa at 2026-11-08T03:26:37+00:00
ITS#10658 liblutil: do not return uninitialized memory from lutil_passwd_generate()
lutil_passwd_generate() set pw->bv_len and allocated pw->bv_val before
calling lutil_entropy(), and left both in place when it failed.
slap_passwd_generate() ignores the return value and the Password Modify
and SASL setpass code only check bv_len, so with /dev/urandom
unavailable and a password-hash scheme without a salt ({SHA},
{CLEARTEXT}, ...) slapd set the uninitialized buffer as the new
password and returned it to the client as genPasswd.
Free the buffer and zero pw on failure (and reset bv_len when the
allocation fails) so that callers report "password generation failed".
- - - - -
1 changed file:
- libraries/liblutil/passwd.c
View it on GitLab: https://git.openldap.org/openldap/openldap/-/commit/70e28be43e3c813f52897a5…
--
View it on GitLab: https://git.openldap.org/openldap/openldap/-/commit/70e28be43e3c813f52897a5…
You're receiving this email because of your account on git.openldap.org. Manage all notifications: https://git.openldap.org/-/profile/notifications | Help: https://git.openldap.org/help
Quanah Gibson-Mount pushed to branch master at openldap / OpenLDAP
Commits:
cba664c9 by HAMANO Tsukasa at 2026-11-05T20:05:31+00:00
ITS#10659 slapo-deref: don't share the ACL state with the dereferenced entries
deref_response() passed the same AccessControlState to access_allowed()
for the search entry and for the dereferenced entries. The state caches
the result per attribute description and access level, not per entry, so
without value dependent ACLs the result for an attribute of the search
entry was reused for the same attribute of a dereferenced entry. When
derefAttr was also listed in the requested attributes (e.g. member ->
member), values of entries the client is not allowed to read were
returned in the Dereference response control. The reverse case could
wrongly deny access.
Use a fresh AccessControlState for each dereferenced entry.
- - - - -
1 changed file:
- servers/slapd/overlays/deref.c
View it on GitLab: https://git.openldap.org/openldap/openldap/-/commit/cba664c91a2575feef13401…
--
View it on GitLab: https://git.openldap.org/openldap/openldap/-/commit/cba664c91a2575feef13401…
You're receiving this email because of your account on git.openldap.org. Manage all notifications: https://git.openldap.org/-/profile/notifications | Help: https://git.openldap.org/help
Howard Chu pushed to branch master at openldap / OpenLDAP
Commits:
e34b3869 by Elia Pinto at 2026-11-05T14:58:13+00:00
ITS#10654 slapo-auditlog: add auditlogmask to hide attribute values
The audit log records every value of every attribute in Add and
Modify operations, so userPassword hashes, and cleartext passwords
when the client supplies them, end up in the log file.
Add a multi-valued auditlogmask / olcAuditlogMask option listing
attributes (and their subtypes) whose values are replaced by a
"# <attr>: (masked)" comment line. The attribute name and the
modification type are still logged.
- - - - -
3 changed files:
- doc/man/man5/slapo-auditlog.5
- servers/slapd/overlays/auditlog.c
- tests/scripts/test090-auditlog
View it on GitLab: https://git.openldap.org/openldap/openldap/-/commit/e34b3869f2ce93e1b15f518…
--
View it on GitLab: https://git.openldap.org/openldap/openldap/-/commit/e34b3869f2ce93e1b15f518…
You're receiving this email because of your account on git.openldap.org. Manage all notifications: https://git.openldap.org/-/profile/notifications | Help: https://git.openldap.org/help