-
Bug
-
Resolution: Unresolved
-
Critical
-
dirsrv-11.7
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