[Samba] Edge ADMX

Gregory Sloop gregs at sloop.net
Wed Jul 26 15:00:46 UTC 2023



> On 7/26/23 12:59 AM, Kees van Vloten via samba wrote:


>> As far as I know samba-tool admx load will copy (load) the admx files > for Linux which are packaged with Samba from the package location to > the location on sysvol.
> `samba-tool admx load` can be used for any admx files, but you have to point it at the correct directory. The `--admx-dir=` parameter has to point to the root where the admx files are, and the adml files should be in subdirectories under that root (en-US/*.adml, for example). Perhaps you pointed the command at the wrong directory? Take a look in your SYSVOL under Policies/PolicyDefinitions and see if maybe you've copied them under some other subdirectory.

I've messed with it all since I first did it, so I'm not sure if I'll be able to really be sure what happened, though this is probably the best/most-likely explanation… I suspect I either pointed it one directory level too high or too low (most likely, IMO). That's easy to do after extracting the ADMX CAB's.
 
Perhaps I expect too much, but I'd have thought that the admx-load action would do a little validation before copying to be sure it was fed the right structure...for exactly this reason.
Thus; Is the ADMX load doing anything other than simply copying the files up to sysvol?
i.e. Is there any reason not to simply copy the ADMX files by hand? Especially if it's not going to do any real validation… :)
 
Thanks all for the good answers so far!
 
-Greg


More information about the samba mailing list