0

im trying to create and use gpo startup scripts for linux when creating gpo scripts startup using Code:

 samba-tool gpo manage scripts startup add  {32147013-5DD6-4BFA-BAF5-D25B0F05A0C9}  /usr/local/scripts/add_proxy.sh

i have no errors

when i trying to list scripts for exact gpo

Code:

"samba-tool gpo manage scripts startup list  {32147013-5DD6-4BFA-BAF5-D25B0F05A0C9} --user=Administrator"

i have this error:

"ERROR(<class 'AttributeError'>): uncaught exception - 'NoneType' object has no attribute 'text'
  File "/usr/lib/python3.10/site-packages/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/samba/netcmd/gpo.py", line 3126, in run
    parameters.text))"

and when from client i'm soing samba-gpupdate --rsop i have my gpo in list , but every other parameters in politic (sudoers etc) listed except startup scripts

also i can see in sysvol directory on DC that file successfully uploaded. tried in 4.16.4 , and 4.15.7 versions os: calculate linux (fork gentoo)

whats wrong?

0 Answers0