For some reason, my Policies folder as GPOs with a mix of GPT.INI and gpt.ini (different cases). samba_gpoupdate only looks for GPT.INI (uppercase), and therefore fails with file not found on lower case varients. My temp workaround was simply to rename all gpt.inis to uppercase. Error is: Traceback (most recent call last): File "/usr/local/samba/sbin/samba_gpoupdate", line 177, in <module> apply_gp(lp, creds, test_ldb, logger, store, gp_extensions) File "/usr/local/samba/sbin/samba_gpoupdate", line 77, in apply_gp version = int(gpo.gpo_get_sysvol_gpt_version(local_path)[1]) samba.NTSTATUSError: (3221225487, '{File Not Found} The file %hs does not exist.')
This was fixed in 57faf35cf836e675e088b3a6e6e455c1309fd4ea