Hi Rowland No, the script oss not running testparm. What constitutes a "major" change to sysvol? Is it addition of, for example, a login script or a modified GPO? Thank you for quick respons ------ -------------------- 8 ------------------ ------ IT truism: "A permanent solution is a temporary solution that works so well that noone want to replace it." Anders ?stling +46 768 716 165 (Mobil) Den m?n 26 jan. 2026 22:12Rowland Penny via samba <samba at lists.samba.org> skrev:> 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On Mon, 26 Jan 2026 22:24:03 +0100 Anders ?stling via samba <samba at lists.samba.org> wrote:> Hi Rowland > > No, the script oss not running testparm.I didn't really think it was, but that is where, in my opinion, it is coming from and it is a warning (in this case) and is more of a nuisance than anything else.> > What constitutes a "major" change to sysvol? Is it addition of, for > example, a login script or a modified GPO?Well, it sort of depends on how anything is added to sysvol and what is added, I would say what you are describing would be minor changes. Does your script run sysvolcheck first and if that fails, only then run sysvolreset ? If after upgrading Samba (it could be something that has been fixed, but I doubt it), it still gives the error, then I suggest you open a bug report. Rowland