[Samba] Missing Policies folder in AD and /var/lib/samba/sysvol

Rick Hollinbeck admin at westernwares.com
Fri Mar 21 18:34:11 UTC 2025


Thanks, Rowland

> Try running this on your Samba DC (altered to your setup):

> sudo ldbsearch --show-binary -H /var/lib/samba/private/sam.ldb -P -b
> 'CN=Policies,CN=System,DC=samdom,DC=example,DC=com' -s one

Ok, I ran this on my server and...
The GPO records were now there!

And... The Policies folder is also showing in Windows explorer.

And... My GPO error events went away.

The population of sysvol in AD seems to have happened overnight,
  so perhaps this is done on some kind of schedule by Samba.

But...
sysvolcheck still fails on both my FSMO samba 4.17.12 DC and
my secondary 4.21.4 DC as I showed in my last email.

But, as long as GPO seems to work now, I guess I don't need sysvolcheck to work.

Thanks again for your help.





More information about the samba mailing list