[Samba] GPO

sandy.napoles at eccmg.cupet.cu sandy.napoles at eccmg.cupet.cu
Sat Jan 11 15:28:31 UTC 2020

This is the result

/usr/local/samba/bin# ./script.sh 
Please wait, collecting debug info.
Password for Administrator at ECCMG.CUPET.CU: 
./script.sh: line 209: samba: command not found
grep: : No such file or directory
./script.sh: line 289: samba-tool: command not found
grep: /etc/samba/smb.conf: No such file or directory
./script.sh: line 328: [: : integer expression expected
grep: : No such file or directory
The debug info about your system can be found in this file: /tmp/samba-debug-info.txt
Please check this and if required, sanitise it.
Then copy & paste it into an  email to the samba list
Do not attach it to the email, the Samba mailing list strips attachments.

January 11, 2020 6:10 AM, "Rowland penny via samba" <samba at lists.samba.org> wrote:

> 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:
> https://github.com/thctlo/samba4/blob/master/samba-collect-debug-info.sh
> 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 attachments.
> Rowland
> -- To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba

More information about the samba mailing list