-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Milestone
Description
After update to core 3.6 the Users list page returns an error with a remote AD provider (Microsoft).
Steps to reproduce
- Configure MS remote AD provider
- Update Core to 3.6
Expected behavior
List of users is displayed
Actual behavior
An error occurs. Log details:
Traceback (most recent call last):
File "/var/lib/nethserver/cluster/actions/list-domain-users/50list_users", line 33, in <module>
users = Ldapclient.factory(**domain).list_users(extra_info=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/agent/pypkg/agent/ldapclient/ad.py", line 163, in list_users
if expire and max_pwd_age.total_seconds() < 86400000000000:
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'total_seconds'
Components
- core 3.6.1
Thanks to @lucagasparini
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done