[Samba] GPO-Error
Stefan Kania
stefan at kania-online.de
Thu May 16 11:43:57 UTC 2019
Hi Rowland,
we checked the sites everything is normal and we did'n do anything with
the site-management.
Stefan
Am 16.05.19 um 11:02 schrieb Rowland penny via samba:
> On 16/05/2019 09:00, Stefan Kania via samba wrote:
>> Hello,
>>
>> I have the following error when checking for GPOs for a single user,
>> listing all GPOs is working:
>> ------------------
>>
>> root at tn2-debian1:~# samba-tool gpo listall
>> GPO : {31B2F340-016D-11D2-945F-00C04FB984F9}
>> display name : Default Domain Policy
>> path :
>> \\example2.net\sysvol\example2.net\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}
>>
>> dn :
>> CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=example2,DC=net
>>
>> version : 0
>> flags : NONE
>>
>> GPO : {6AC1786C-016F-11D2-945F-00C04FB984F9}
>> display name : Default Domain Controllers Policy
>> path :
>> \\example2.net\sysvol\example2.net\Policies\{6AC1786C-016F-11D2-945F-00C04FB984F9}
>>
>> dn :
>> CN={6AC1786C-016F-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=example2,DC=net
>>
>> version : 0
>> flags : NONE
>>
>> root at tn2-debian1:~# samba-tool gpo list u11
>> ERROR(runtime): uncaught exception - Badly formed gPLink ' '
>> File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line
>> 185, in _run
>> return self.run(*args, **kwargs)
>> File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 519,
>> in run
>> glist = parse_gplink(str(msg['gPLink'][0]))
>> File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 102,
>> in parse_gplink
>> raise RuntimeError("Badly formed gPLink '%s'" % g)
>>
>> ------------------
>> I've never seen this massage before :-( Any hint?
>>
>> Stefan
>>
> I haven't seen it before, perhaps it is another artefact of moving to
> python3 ?
>
> From my understanding 'gplink' is only used when you have more than one
> site in the domain, try reading this:
>
> https://blogs.msdn.microsoft.com/canberrapfe/2012/11/15/where-are-site-linked-group-policy-objects-stored-and-why-should-you-care/
>
>
> It might help.
>
> Rowland
>
>
>
--
Stefan Kania
Landweg 13
25693 St. Michaelisdonn
Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre
E-Mail. Weiter Informationen unter http://www.gnupg.org
Mein Schlüssel liegt auf
hkp://subkeys.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20190516/660ff7d2/signature.sig>
More information about the samba
mailing list