[Samba] Startup script error

Peter Carlson peter at howudodat.com
Mon Oct 24 22:21:52 UTC 2022


On 10/24/22 15:13, David Mulder via samba wrote:
> 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).
>
ok that fixed it.  So one of the 3 objectives is done.

Anything I can do to help with user logon scripts?




More information about the samba mailing list