Skip to content

UPN bind example: docstrings + light modernization (fixes #161) - #261

Open
psi29a wants to merge 3 commits into
masterfrom
fixes/upn-bind-example-dedup
Open

UPN bind example: docstrings + light modernization (fixes #161)#261
psi29a wants to merge 3 commits into
masterfrom
fixes/upn-bind-example-dedup

Conversation

@psi29a

@psi29a psi29a commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Supersedes #161. Rebased graingert's two commits onto current master,
and added a follow-up commit that applies the review comments left by
adiroiban on the original PR (docstring on the UPN helper, comment
wording on the two fall-through branches).

graingert and others added 3 commits August 26, 2026 10:47
Applies the review comments left on #161 (adiroiban) by extracting
the UPN resolution into a well-documented ``_resolveUPNBindDN`` helper,
explaining the ``@`` vs ``,`` shape check that identifies a UPN, and
naming the two fall-through cases (not-a-UPN, no-unambiguous-match).

Also drops a couple of Python 2 leftovers now that we require 3.10+:
the explicit ``object`` base and ``super(Cls, self)``. Behaviour is
unchanged; this is a docs-only example file, still exercised only by
being importable.

Co-authored-with: Thomas Grainger <tagrain@gmail.com>
@psi29a
psi29a requested a review from adiroiban August 26, 2026 09:00
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.

2 participants