Skip to content

LDAP users: scrub legacy password hashes on login (#103) - #119

Merged
alorbach merged 1 commit into
rsyslog:masterfrom
alorbach:pr-issue-103
May 4, 2026
Merged

LDAP users: scrub legacy password hashes on login (#103)#119
alorbach merged 1 commit into
rsyslog:masterfrom
alorbach:pr-issue-103

Conversation

@alorbach

@alorbach alorbach commented May 4, 2026

Copy link
Copy Markdown
Member
  • Replace misleading INSERT comment (password is not stored for LDAP).
  • On successful LDAP login, clear non-empty password column for existing rows so pre-fix MD5 values are removed automatically.
  • Fix corrupted UTF-8 at end of adjacent comment line.

- Replace misleading INSERT comment (password is not stored for LDAP).
- On successful LDAP login, clear non-empty password column for existing
  rows so pre-fix MD5 values are removed automatically.
- Fix corrupted UTF-8 at end of adjacent comment line.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates src/include/functions_users.php to refine LDAP user management. It fixes a character encoding issue in a comment and updates documentation regarding password storage for LDAP accounts. Additionally, it adds logic to automatically scrub legacy MD5 password hashes from the database when an LDAP user authenticates, ensuring that authentication is handled exclusively via LDAP. I have no feedback to provide.

@alorbach
alorbach merged commit fa875cb into rsyslog:master May 4, 2026
5 checks passed
@alorbach
alorbach deleted the pr-issue-103 branch May 4, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant