[Samba] Sysvol reset
Rowland Penny
rpenny at samba.org
Mon Jan 26 21:11:07 UTC 2026
On Mon, 26 Jan 2026 21:45:05 +0100
Anders Östling via samba <samba at lists.samba.org> wrote:
> I have a script that regularly (every hour) runs a sysvolreset on the
> DC that holds the PDC emulator (actually all) roles. This has used to
> work fine, but now it spits out (approx 50 lines)
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
> idmap range not specified for domain '*'
That is what testparm shows if the default 'idmap config' line is not
set in the smb.conf file and that line is not and should not be in a DC
smb.conf file, so does your script run testparm ?
> 0
>
> sysvolcheck reports no error though. Everything seems to work as it
> should on both our DC's and file servers. Sysvolreset acts the same
> also on the other DC (holds no roles).
>
> 4.23.3-Debian-4.23.3+dfsg-1~bpo13+1
I do not get that error on my DC with the PDC_Emulator FSMO role, but I
am on 4.23.4 (latest Debian Trixie backports), so you might want to
upgrade.
I do not run sysvolreset that often, you only really need to run it
when you make major changes to sysvol and then, only if you get errors.
Rowland
More information about the samba
mailing list