-
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
Steps to reproduce
- Configure a Windows Server as a remote LDAP for NethServer
- Trigger a user listing operation that calls
Ldapclient.factory(**domain).list_users(extra_info=True)
Expected behavior
The operation completes successfully and must_change is correctly handled for all users.
Actual behavior
Traceback error occurs:
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 180, in list_users
user['must_change'] = (pwd_changed_time.timestamp() == -11644473600)
AttributeError: 'list' object has no attribute 'timestamp'
Components
Core version : https://github.com/NethServer/ns8-core/releases/tag/3.11.1
See also
- Fix reference: NethServer/ns8-core/pull/941
- Related discussion: https://community.nethserver.org/t/ns8-high-cpu-and-network-utilization-lmtp-trivial-rewrite/26365
thanks to @mrmarkuz and Charles Steaderman
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done