Skip to content

Commit

Permalink
IPA: use earlier expiration time when creating new user
Browse files Browse the repository at this point in the history
The old expiration time was further in future than what krb5 can handle.
krb5 treats timestamps as int32 and we exceeded it. Therefore, user
authentication yieled an error in SSSD krb5_child logs, even though
authentication was successful.
  • Loading branch information
pbrezina committed Nov 14, 2023
1 parent d98fb8d commit b7ae078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sssd_test_framework/roles/ipa.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def add(
}

if not require_password_reset:
attrs["password-expiration"] = (self.cli.option.VALUE, "20380805120000Z")
attrs["password-expiration"] = (self.cli.option.VALUE, "20380101120000Z")

self._add(attrs, input=password)
return self
Expand Down

0 comments on commit b7ae078

Please sign in to comment.