-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
389-ds-base-3.1.3-2.el10
-
No
-
Low
-
ZStream
-
rhel-idm-ds
-
0
-
False
-
False
-
-
None
-
None
-
Approved Blocker
-
Pass
-
New Test Coverage
-
None
Description of problem:
- dsidm -D "cn=Directory Manager" ldap://server -b "dc=example,dc=com" account entry-status "uid=user,ou=people,dc=example,dc=com"
Error: float() argument must be a string or a number, not 'NoneType'
The problem occurs when the Account Policy Plug-In is enabled but no account policies exist or assigned to a user which causes get_attr_val_utf8_l() to return None for limit in status() of idm/account.py
The fix would be a simple one-liner to just skip the check in this case eg
- Locked indirectly through Account Policy plugin
if process_account_policy and last_login_time and limit is not None:
or something like that.
- external trackers
- links to
-
RHBA-2025:151590
389-ds-base update