Bug 28618 - lock.schema: lockTime ORDERING integerOrderingMatch
lock.schema: lockTime ORDERING integerOrderingMatch
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 5.0
All Linux
: P5 enhancement with 1 vote (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-20 15:16 CEST by Philipp Hahn
Modified: 2020-07-04 07:08 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2012-09-20 15:16:19 CEST
Für das lockTime-Attribut ist im lock.schema leider kein ORDERING definiert, weshalb eine Suche der Form
  univention-ldapsearch -xLLL "(&(objectClass=lock)(lockTime<=$(date +%s)))"
nicht funktioniert, um alle inzwischen abgelaufenen Locks zu finden.

Siehe <http://www.zytrax.com/books/ldap/ch3/#attributes> für Literatur dazu.

diff --git a/branches/ucs-3.1/ucs/management/univention-ldap/schema/lock.schema b/branches/ucs-3.1/ucs/management/univention-ldap/schema/lock.schema
index e154eb4..51546fb 100644
--- a/branches/ucs-3.1/ucs/management/univention-ldap/schema/lock.schema
+++ b/branches/ucs-3.1/ucs/management/univention-ldap/schema/lock.schema
@@ -28,6 +28,7 @@
 attributetype ( 1.3.6.1.4.1.10176.92 NAME 'lockTime'
 	DESC 'time the lock was set in place in seconds since epoch'
 	EQUALITY integerMatch
+	ORDERING integerOrderingMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
 
 objectclass ( 1.3.6.1.4.1.10176.94 NAME 'lock'


Und wer die Datei anfasst darf auch bitte gleich die Leerzeichen durch Tabs ersetzen.
Comment 1 Stefan Gohmann univentionstaff 2014-02-18 21:29:05 CET
This issue has been filed against the UCS version "unstable" which does not really exist. Please change the version value.
Comment 2 Stefan Gohmann univentionstaff 2017-06-16 20:35:45 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 3 Ingo Steuwer univentionstaff 2020-07-03 20:51:08 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.