[Samba] GPO

Rowland penny rpenny at samba.org
Sat Jan 11 14:16:35 UTC 2020

On 10/01/2020 18:16, Sandy via samba wrote:
> update some dependencies that appear to be missing and the same error continues.
> ./samba-tool gpo create WSUS -Usandy
> Password for [ECCMG\sandy]:
> Using temporary directory /tmp/tmpgcft6ubs (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
>      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)
As I said, neither I or Louis can reproduce your problem, so it looks 
like the problem is at your end, especially has a lack of a required 
package has now been ruled out

I can only think of two possibilities, is Apparmor running ?

If it is, try turning it off and see if this fixes your problem.

Is PATH set correctly ?

If you run (in a terminal): echo "$PATH"

Does it start with '/usr/local/samba/bin:/usr/local/samba/sbin:.....' ?

Failing that, please go here: 

Download the script, run it on the failing DC and paste the output into 
a reply to this thread, do not attach it, this mailing list strips 


More information about the samba mailing list