Bug 13521 - samba-tool ntacl sysvolreset is slow
Summary: samba-tool ntacl sysvolreset is slow
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.8.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-11 04:11 UTC by Andrew Bartlett
Modified: 2019-06-11 21:24 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2018-07-11 04:11:03 UTC
samba-tool ntacl sysvolreset is slow due to the internal operations done to confirm if a user is a member of a group. 

This operation is repeated multiple times for each file, and this makes the tool very slow on large sets of GPOs.
Comment 1 Andrew Bartlett 2019-06-11 13:45:07 UTC
Partially fixed in Samba 4.9 by caching the user's groups. 

There are still issues but this can be closed as fixed in Samba 4.9 by a8a9bb553c8195425f385eee1cc8efab8cd889e9