Skip to content

Commit

Permalink
core: bump python-kadmin-rs from 0.3.0 to 0.4.0 (#12257)
Browse files Browse the repository at this point in the history
  • Loading branch information
rissson authored Dec 4, 2024
1 parent 1623885 commit d3a581b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 43 deletions.
6 changes: 4 additions & 2 deletions authentik/sources/kerberos/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ def kerberos_sync_password(sender, user: User, password: str, **_):
continue
with Krb5ConfContext(source):
try:
source.connection().getprinc(user_source_connection.identifier).change_password(
password
kadm = source.connection()
kadm.get_principal(user_source_connection.identifier).change_password(
kadm,
password,
)
except PyKAdminException as exc:
LOGGER.warning("failed to set Kerberos password", exc=exc, source=source)
Expand Down
80 changes: 40 additions & 40 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pydantic-scim = "*"
pyjwt = "*"
pyrad = "*"
python = "~3.12"
python-kadmin-rs = "0.3.0"
python-kadmin-rs = "0.4.0"
pyyaml = "*"
requests-oauthlib = "*"
scim2-filter-parser = "*"
Expand Down

0 comments on commit d3a581b

Please sign in to comment.