Bug 15208 - Doesnt work gpo scripts startup
Summary: Doesnt work gpo scripts startup
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.16.4
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-17 11:13 UTC by john
Modified: 2022-10-17 11:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description john 2022-10-17 11:13:26 UTC
im trying to create and use gpo startup scripts for linux
when creating gpo scripts startup  using
 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 

"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?