[Samba] Error GPO

Rowland penny rpenny at samba.org
Wed Jan 8 16:06:47 UTC 2020


On 08/01/2020 15:18, Sandy via samba wrote:
> Good morning list, I am using samba4.11.4,
It works for me on 4.10.8 and it works for Louis on 4.11.4
>
>
>  From the cosola I put
> ./samba-tool gpo create WSUS -Uadministrator
Why the './' ?
> and I get the following error
> Password for [ECCMG\administrator]:*********
> Using temporary directory /tmp/tmp2mk294gd (use --tmpdir to change)
> ERROR(runtime): uncaught exception - (3221225524, 'The object name is not found.')
>    File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/__init__.py", line 186, in _run

Hmm, it looks like you have compiled Samba yourself, What OS and what 
was your './configure' line ?

Have you set PATH correctly ?

>      return self.run(*args, **kwargs)
>    File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 1277, in run
>      copy_directory_local_to_remote(conn, gpodir, sharepath)
>    File "/usr/local/samba/lib/python3.5/site-packages/samba/netcmd/gpo.py", line 374, in copy_directory_local_to_remote
>      conn.savefile(r_name, data)
>
> But when I go to a /usr/local/samba/var/locks/sysvol/eccmg.cupet.cu/Policies  I can see it. then if I tried to delete
I said it works for myself, but only to create the GPO in AD, it does 
not create anything in sysvol.
>
> ./samba-tool gpo del {989FED42-2719-4CC6-A4EF-4F84987EF3ED} -Uadministrator
> Password for [ECCMG\administrator]:
> ERROR: GPO '{989FED42-2719-4CC6-A4EF-4F84987EF3ED}' does not exist

Rowland





More information about the samba mailing list