[PATCH] fix samba-tool gpo backup syntax in WHATSNEW.txt

Denis Cardon dcardon at tranquil.it
Mon Feb 18 11:43:31 UTC 2019

Hi Garming,

Le 02/17/2019 à 11:07 PM, Garming Sam a écrit :
> That sounds like Microsoft might have made an error somewhere. Perhaps I
> should send an email to Microsoft dochelp and see what their response is.

digging a little bit more, it seems that the displayName key in the 
GPT.INI file is actually not used. When the GPO is initially created 
with French locale RSAT on win7 (tested on differents VMs on different 
domains), you get a file like this:

# more "{34D4830E-27AC-49DF-BCD2-E3340B9A79B8}/GPT.INI"
displayName=Nouvel objet Strat�gie de groupe

Encoding is iso8859

If I rename that GPO, it does rename the displayName attribute in the 
But it does not change the value of the displayName key in GPT.INI file 
(which still has its encoding issue).

Actually the "samba-tool gpo create" command does not even add the 
displayName key in the GPT.INI file. And it is neither added when 
changing the GPO name afterward.

So my conclusion is that displayName key in GPT.INI file should be 
simply ignored (and not recreated during restore), and that data should 
be retrieved from the displayName LDAP attribute.

Actually "samba-tool gpo show" and other similar commands get 
displayName from LDAP only.



> Cheers,
> Garming
> On 16/02/19 5:03 AM, Denis Cardon via samba-technical wrote:
>> Hi Andreas, everyone,
>> galvanized with a first contribution (thanks Andreas and Rowland), I'm
>> sending another very very modest one correcting syntax in WHATSNEW
>> (samba-tool gpo export vs samba-tool gpo backup).
>> Actually I am playing with the gpo import export script. There is some
>> encoding issues with French accents in the GPT.INI. Looking at some
>> specs it should be UTF-8 (which is the expected encoding in the gpo
>> export script), but using French RSAT, it is generated in iso-8859...
>> I Still trying to figure that out...
>> If someone has RSAT with another locale handy, could you please check
>> what encoding it is using for GPT.INI file using accents in GPO name
>> (so that accentuated char gets saved into the displayName key of
>> GPT.INI file)?
>> Cheers,
>> Denis

Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint Sébastien sur Loire
tel : +33 (0)

Samba install wiki for Frenchies : https://dev.tranquil.it
WAPT, software deployment made easy : https://wapt.fr

More information about the samba-technical mailing list