Skip to content

v0.8.1 — Bind DN resolution

Choose a tag to compare

@blburns blburns released this 24 Aug 14:59
· 35 commits to main since this release

Patch: simple bind was looking up the bind DN exactly, so ldappasswd -D uid=alice,dc=example,dc=com failed against the seeded uid=alice,ou=People,dc=example,dc=com entry.

  • Resolve uid / sAMAccountName (and a mismatched parent DN) to the directory entry
  • Session bind DN is the canonical entry DN so self-service password modify works

Rebuild and retry:

./build/ldappasswd -H ldap://127.0.0.1:3389 -x -D uid=alice,dc=example,dc=com -w alice-secret -s alice-newer