getting this error trying to test a startup script root at fs1:~/samba.git# /usr/sbin/samba-gpupdate --force 2022-10-24 19:56:21.410|[E09601]| Failed to apply extension VGP/Unix Settings/Startup Scripts | {} 2022-10-24 19:56:21.410|[E52257]| Message was: AttributeError: 'NoneType' object has no attribute 'text' | {} file server is running from git root at fs1:~/samba.git# samba-gpupdate --version 4.18.0pre1-GIT-284afec29ff root at fs1:~/samba.git# ADDC is running 4.17 root at nc1:~# cat start_peter.sh ?#!/bin/sh ?whoami >> /tmp/daily.log root at nc1:~# samba-tool gpo manage scripts startup add {B6997861-495F-43DF-B01D-045048188B37} start_peter.sh -U administrator Password for [CARLSON\administrator]: GPO????????? : {B6997861-495F-43DF-B01D-045048188B37} display name : Linux Defaults path???????? : \\carlson.lab\SysVol\carlson.lab\Policies\{B6997861-495F-43DF-B01D-045048188B37} dn?????????? : CN={B6997861-495F-43DF-B01D-045048188B37},CN=Policies,CN=System,DC=carlson,DC=lab version????? : 2 flags??????? : NONE
On Mon, 2022-10-24 at 12:59 -0700, Peter Carlson via samba wrote:> getting this error trying to test a startup script > root at fs1:~/samba.git# /usr/sbin/samba-gpupdate --force2022-10-24 > 19:56:21.410|[E09601]| Failed to apply extension VGP/Unix > Settings/Startup Scripts | {}2022-10-24 19:56:21.410|[E52257]| > Message was: AttributeError: 'NoneType' object has no attribute > 'text' | {} > file server is running from gitThanks for helping test our pre-release code. This helps ensure everything is working great once we release it. I've CC'ed David Mulder who looks after this area.> root at fs1:~/samba.git# samba-gpupdate > --version4.18.0pre1-GIT-284afec29ffroot at fs1:~/samba.git#Thanks for confirming the version. Andrew Bartlett> ADDC is running 4.17 > root at nc1:~# cat start_peter.sh #!/bin/sh whoami >> /tmp/daily.log > root at nc1:~# samba-tool gpo manage scripts startup add {B6997861-495F- > 43DF-B01D-045048188B37} start_peter.sh -U administratorPassword for > [CARLSON\administrator]: > GPO : {B6997861-495F-43DF-B01D-045048188B37}display name : > Linux Defaultspath : > \\carlson.lab\SysVol\carlson.lab\Policies\{B6997861-495F-43DF-B01D- > 045048188B37}dn : CN={B6997861-495F-43DF-B01D- > 045048188B37},CN=Policies,CN=System,DC=carlson,DC=labversion : > 2flags : NONE >-- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions
On 10/24/22 1:59 PM, Peter Carlson via samba wrote:> getting this error trying to test a startup script > > root at fs1:~/samba.git# /usr/sbin/samba-gpupdate --force > 2022-10-24 19:56:21.410|[E09601]| Failed to apply extension VGP/Unix > Settings/Startup Scripts | {} > 2022-10-24 19:56:21.410|[E52257]| Message was: AttributeError: > 'NoneType' object has no attribute 'text' | {} > > file server is running from git > > root at fs1:~/samba.git# samba-gpupdate --version > 4.18.0pre1-GIT-284afec29ff > root at fs1:~/samba.git# > > ADDC is running 4.17 > > root at nc1:~# cat start_peter.sh > ?#!/bin/sh > ?whoami >> /tmp/daily.log > > root at nc1:~# samba-tool gpo manage scripts startup add > {B6997861-495F-43DF-B01D-045048188B37} start_peter.sh -U administrator > Password for [CARLSON\administrator]: > > GPO????????? : {B6997861-495F-43DF-B01D-045048188B37} > display name : Linux Defaults > path???????? : > \\carlson.lab\SysVol\carlson.lab\Policies\{B6997861-495F-43DF-B01D-045048188B37} > dn?????????? : > CN={B6997861-495F-43DF-B01D-045048188B37},CN=Policies,CN=System,DC=carlson,DC=lab > version????? : 2 > flags??????? : NONE > >Send me the contents of the file \\carlson.lab\SysVol\carlson.lab\Policies\{B6997861-495F-43DF-B01D-045048188B37}\MACHINE\VGP\VTLA\Unix\Scripts\Startup\manifest.xml The CSE is failing to find one of the xml elements in that file. -- 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