Univention Bugzilla – Attachment 10637 Details for
Bug 52874
55_adconnector/263read_ad_remove_capital_user_from_group shows timing dependent memberUid spelling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug52874-fix-proposal.diff
bug52874-fix-proposal.diff (text/plain), 779 bytes, created by
Arvid Requate
on 2021-03-09 12:19:48 CET
(
hide
)
Description:
bug52874-fix-proposal.diff
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2021-03-09 12:19:48 CET
Size:
779 bytes
patch
obsolete
>diff --git a/services/univention-ad-connector/modules/univention/connector/ad/__init__.py b/services/univention-ad-connector/modules/univention/connector/ad/__init__.py >index 61c9fdc4b3..19580527c9 100644 >--- a/services/univention-ad-connector/modules/univention/connector/ad/__init__.py >+++ b/services/univention-ad-connector/modules/univention/connector/ad/__init__.py >@@ -933,7 +933,8 @@ class ad(univention.connector.ucs): > return int(element[1]['uSNChanged'][0]) > > def _sortkey_created_since_last(element): >- return 0 if int(element[1]['uSNCreated'][0]) > last_usn else 1 >+ uSNCreated = int(element[1]['uSNCreated'][0]) >+ return uSNCreated if uSNCreated > last_usn else 'X' > > if last_usn <= 0: > return sorted(res, key=_sortkey_ascending_usncreated)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 52874
:
10633
|
10634
|
10635
| 10637 |
10638