[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba
Subject:    [Samba] Can't use "samba-tool gpo backup" command
From:       Csorba_RĂ³bert_via_samba <samba () lists ! samba ! org>
Date:       2020-02-27 17:47:01
Message-ID: 83c0f522-a1d9-050b-60d0-560be33de386 () darabanth ! com
[Download RAW message or body]

Hi,

I would like to dump my GPO policies with the following command =

"samba-tool gpo backup {LONG-ID-NUMBER}" but it didn't work.

System details:

- Tranquil IT's repo.

- Samba version 4.10.12

- CentOS Linux release 7.7.1908 (Core) with kernel =

3.10.0-1062.12.1.el7.x86_64

Command result:

ERROR(<class 'UnicodeDecodeError'>): Error copying GPO from DC - 'utf-8' =

codec can't decode byte 0xda in position 34: invalid continuation byte
 =A0 File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line =

1050, in run
 =A0=A0=A0 backup_directory_remote_to_local(conn, sharepath, gpodir)
 =A0 File "/usr/lib64/python3.6/site-packages/samba/netcmd/gpo.py", line =

294, in backup_directory_remote_to_local
 =A0=A0=A0 parser.parse(data)
 =A0 File "/usr/lib64/python3.6/site-packages/samba/gp_parse/gp_ini.py", =

line 40, in parse
 =A0=A0=A0 self.ini_conf.readfp(StringIO(contents.decode(self.encoding)))

Yours Sincerely

Robert Csorba




-- =

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic