Bug 32134 - Replace pure LDAP search for users with UDM lookup
Replace pure LDAP search for users with UDM lookup
Status: RESOLVED DUPLICATE of bug 44434
Product: UCS
Classification: Unclassified
Component: UMC - Printer administration
UCS 4.2
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-30 18:44 CEST by Alexander Kläser
Modified: 2020-06-22 15:43 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-07-30 18:44:27 CEST
The UMC backend method "list_users" uses a wild LDAP query:

> objs = self.lo.search(base=self.position.getDomain(), filter='(&(|(&(objectClass=posixAccount)(objectClass=shadowAccount))(objectClass=univentionMail)(objectClass=sambaSamAccount)(objectClass=simpleSecurityObject)(&(objec
tClass=person)(objectClass=organizationalPerson)(objectClass=inetOrgPerson)))(!(uidNumber=0))(!(uid=*$)))', attr=['uid'])

Without going into details, it seems to me that this could be replaced by a much easier lookup using UDM.
Comment 1 Florian Best univentionstaff 2020-06-22 15:43:30 CEST
fixed in git:85d9b81774eb6072972cd82910e94acfc334837f

*** This bug has been marked as a duplicate of bug 44434 ***