ntacl sysvolreset can take a long time

Rowland Penny rpenny at samba.org
Fri Jul 21 13:55:07 UTC 2017

On Fri, 21 Jul 2017 15:25:19 +0200
Bjoern Baumbach via samba-technical <samba-technical at lists.samba.org>

> Hi!
> Depending on the amount of data in the sysvol directory, the
> samba-tool ntacl sysvol reset consumes a lot of time.
> But there is an additional cause for highly increased duration of the
> process. In a small setup it takes round about half a minute when
> Samba is running and just 4 seconds when Samba is not running.
> One distinct difference between samba is running and not running is
> the amount of fcntl() calls.
> I count 1722462 when samba is up, but just 147214 if samba is not
> running, which is a large difference. Maybe somebody have some ideas
> how we can improve this :-)
> Best regards,
> Björn

very easily, do not run sysvolreset ;-)
Do anything to do with GPOs from windows.
Do not give 'Domain Admins' a gidNumber

Not sure if doing the above will help with your count, but it will
stop you breaking sysvol.


More information about the samba-technical mailing list