Web lists-archives.com

Re: [Samba] GPO-Error

On 16/05/2019 09:00, Stefan Kania via samba wrote:

I have the following error when checking for GPOs for a single user,
listing all GPOs is working:

root@tn2-debian1:~# samba-tool gpo listall
GPO          : {31B2F340-016D-11D2-945F-00C04FB984F9}
display name : Default Domain Policy
path         :
dn           :
version      : 0
flags        : NONE

GPO          : {6AC1786C-016F-11D2-945F-00C04FB984F9}
display name : Default Domain Controllers Policy
path         :
dn           :
version      : 0
flags        : NONE

root@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?


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:


It might help.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba