LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-17-2022, 09:04 AM   #1
mefisto74
LQ Newbie
 
Registered: May 2022
Posts: 2

Rep: Reputation: 0
samba Doesnt work gpo scripts startup


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:

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba dc ad gpo talekksna Linux - Server 1 05-05-2016 10:23 PM
GPO not working on samba (CentOS 7) king1806 Linux - Newbie 0 03-31-2016 10:44 AM
Samba4 with GPO + 389-DS commiethebeastie Linux - Server 1 08-12-2012 08:16 AM
sharing internet but samba doesnt work, turn filewall off samba works but net isnt Jungle_King Linux - Networking 2 05-08-2009 07:00 AM
Why doesnt my USB mouse doesnt work? barkha Linux - Hardware 2 08-16-2005 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration