[Samba] Startup script error

David Mulder dmulder at samba.org
Mon Oct 24 22:13:33 UTC 2022


On 10/24/22 4:08 PM, Peter Carlson via samba wrote:
> root at nc1:~# cat 
> /var/lib/samba/sysvol/carlson.lab/Policies/{B6997861-495F-43DF-B01D-045048188B37}/Machine/VGP/VTLA/Unix/Scripts/Startup/manifest.xml
> <?xml version='1.0' encoding='UTF-8'?>
> <vgppolicy><policysetting><version>1</version><name>Unix 
> Scripts</name><description>Represents Unix scripts to run on Group 
> Policy 
> clients</description><data><listelement><script>start_peter.sh</script><hash>63373D674E1DB8B574A1593F1D667C78</hash><run_once 
> /></listelement></data></policysetting></vgppolicy>
>
> or easier to read:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <vgppolicy>
>   <policysetting>
>     <version>1</version>
>     <name>Unix Scripts</name>
>     <description>Represents Unix scripts to run on Group Policy 
> clients</description>
>     <data>
>       <listelement>
>         <script>start_peter.sh</script>
> <hash>63373D674E1DB8B574A1593F1D667C78</hash>
>         <run_once />
>       </listelement>
>     </data>
>   </policysetting>
> </vgppolicy>
>
Modify the listelement to contain an empty 'parameters' element, like this:

       <listelement>
         <script>start_peter.sh</script>
<hash>63373D674E1DB8B574A1593F1D667C78</hash>
         <run_once />
         <parameters />
       </listelement>

That should fix it. Let me know the results and I'll push a fix to 
master (and perhaps we should fix this in 4.18 also).

-- 
David Mulder
Labs Software Engineer, Samba
SUSE
1221 S Valley Grove Way, Suite 500
Pleasant Grove, UT 84062
(P)+1 385.208.2989
dmulder at suse.com
http://www.suse.com




More information about the samba mailing list