Bug 41665 - Improve performance of Samba SAMR GetGroupsForUser call
Improve performance of Samba SAMR GetGroupsForUser call
Status: CLOSED DUPLICATE of bug 41551
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-2-errata
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-27 13:24 CEST by Arvid Requate
Modified: 2016-07-14 16:55 CEST (History)
2 users (show)

See Also:
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:
requate: Patch_Available+


Attachments
0001-s4-samr-Rework-GetGroupsForUser-to-use-memberOf.patch (4.98 KB, patch)
2016-06-27 13:24 CEST, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.