Univention Bugzilla – Attachment 8982 Details for
Bug 44883
Compare DN with respect to case (in)sensitivity
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
44883_get_case_insensitive_attributes.py
44883_get_case_insensitive_attributes.py (text/x-python), 412 bytes, created by
Florian Best
on 2017-06-28 17:42:47 CEST
(
hide
)
Description:
44883_get_case_insensitive_attributes.py
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-06-28 17:42:47 CEST
Size:
412 bytes
patch
obsolete
>from univention.uldap import getMachineConnection >from ldap.schema import (SubSchema, ObjectClass, AttributeType) >lo = getMachineConnection() >subschema = lo.get_schema() > >attrs = set() >for oid in subschema.listall(AttributeType): > attr = subschema.get_obj(AttributeType, oid) > if attr.equality and attr.equality.startswith('caseIgnore'): > attrs |= set(attr.names) >print [attr.lower() for attr in sorted(attrs)]
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 Raw
Actions:
View
Attachments on
bug 44883
:
8981
| 8982