Skip to content

fix(deps): update module github.com/netresearch/simple-ldap-go to v1.13.0 - #252

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/github.com-netresearch-simple-ldap-go-1.x
Jul 26, 2026
Merged

fix(deps): update module github.com/netresearch/simple-ldap-go to v1.13.0#252
renovate[bot] merged 1 commit into
mainfrom
renovate/github.com-netresearch-simple-ldap-go-1.x

Conversation

@renovate

@renovate renovate Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/netresearch/simple-ldap-go v1.12.2v1.13.0 age confidence

Release Notes

netresearch/simple-ldap-go (github.com/netresearch/simple-ldap-go)

v1.13.0

Compare Source

Added
  • Password-expiry reporting for Active Directory and OpenLDAP (#​186). PasswordExpiryFor(ctx, user) returns a directory-independent answer to when a password expires, and UsersWithExpiringPasswords(ctx, within) returns the enabled users whose password expires inside a window, oldest deadline first. The result distinguishes four states — expires (with the moment), never-expires, must-change, unknown — rather than a bare timestamp, because they are not interchangeable: a caller that treats unknown as expiring would act on every account the directory happens to be quiet about.
    • Active Directory resolves from the constructed msDS-UserPasswordExpiryTimeComputed, which folds in the domain policy and any Password Settings Object server-side, so no privileged read of the Password Settings Container is needed. New User fields PasswordExpiresAt, PwdChangedAt, PasswordPolicyDN expose the underlying attributes.
    • OpenLDAP resolves from the ppolicy operational pwdChangedTime plus the governing policy's pwdMaxAge, taken from the entry's pwdPolicySubentry or the new Config.PasswordPolicyDN. pwdMaxAge is memoised per policy DN, so a directory scan costs one policy read per distinct policy rather than one per user.
    • OpenLDAP has no userAccountControl, so every OpenLDAP user reads as enabled; a caller that must exclude deactivated OpenLDAP accounts has to do so by its own criterion.
Fixed
  • FindUserByDNContext requested a shorter attribute list than the other user searches, so it silently returned a User with pwdLastSet, accountExpires, lockoutTime and whenCreated zeroed — the same type meaning different things depending on which finder produced it. It now uses the shared userFields like every other user search.
CI
  • The codecov unit flag is declared as unittests to match what go-check.yml uploads under (#​187); the previous unit name left real unit coverage attributed to an undeclared flag while a stale one carried forward.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot enabled auto-merge July 26, 2026 21:10
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 26, 2026
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
gomod/github.com/netresearch/simple-ldap-go 1.13.0 🟢 7.5
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 10all changesets reviewed
Dependency-Update-Tool🟢 10update tool detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Security-Policy🟢 4security policy file detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Vulnerabilities🟢 82 existing vulnerabilities detected
SAST🟢 10SAST tool is run on all commits
Fuzzing🟢 10project is fuzzed
License🟢 10license file detected
Branch-Protection🟢 3branch protection is not maximal on development and all release branches
Contributors🟢 10project has 9 contributing companies or organizations
CI-Tests🟢 1014 out of 14 merged PRs checked by a CI test -- score normalized to 10

Scanned Files

  • go.mod

@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.39%. Comparing base (dfee909) to head (1472c17).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #252   +/-   ##
=======================================
  Coverage   75.39%   75.39%           
=======================================
  Files          11       11           
  Lines         512      512           
=======================================
  Hits          386      386           
  Misses        101      101           
  Partials       25       25           
Flag Coverage Δ
e2e 75.39% <ø> (ø)
integration 75.39% <ø> (ø)
unittests 75.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot added this pull request to the merge queue Jul 26, 2026
Merged via the queue into main with commit ccd851a Jul 26, 2026
27 checks passed
@renovate
renovate Bot deleted the renovate/github.com-netresearch-simple-ldap-go-1.x branch July 26, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants