Bug 41665

Summary: Improve performance of Samba SAMR GetGroupsForUser call
Product: UCS Reporter: Arvid Requate <requate>
Component: Samba4Assignee: Arvid Requate <requate>
Status: CLOSED DUPLICATE QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: gohmann, walkenhorst
Version: UCS 4.1Flags: requate: Patch_Available+
Target Milestone: UCS 4.1-2-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- 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): Troubleshooting, UCS Performance
Max CVSS v3 score:
Attachments: 0001-s4-samr-Rework-GetGroupsForUser-to-use-memberOf.patch

Description Arvid Requate univentionstaff 2016-06-27 13:24:47 CEST
Created attachment 7768 [details]
0001-s4-samr-Rework-GetGroupsForUser-to-use-memberOf.patch

Ticket#: 2015110921000315

The attached patch aims to improve the performance of the Samba SAMR GetGroupsForUser call.

In the case of the ticket, the Samba rpc_server consumed 100% of a CPU core for most of the time while a couple of smbd connections where running. Finally it turned out that a bunch of Solaris clients without winbind apparently constantly hit the two Samba/AD DCs.

The patch makes Samba use the memberOf attribute which sound like the right thing to do.
Comment 1 Arvid Requate univentionstaff 2016-06-27 13:25:59 CEST

*** This bug has been marked as a duplicate of bug 41551 ***
Comment 2 Stefan Gohmann univentionstaff 2016-07-08 15:04:53 CEST
OK, duplicate.