[Samba] Group policy broken

Ivan Jurišić ivan at jurisic.org
Fri Jun 21 10:25:20 UTC 2019


I using Samba 4.10.4-Debian and Samba work as Active Directory. All work
ok, until I try apply GPO to specific security group with guide on link
http://www.rebeladmin.com/2018/04/group-policy-security-filtering/ .
After modify GPO I got error:

root at dc1:~# samba-tool gpo list user5

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)

How to fix GPO ?

More information about the samba mailing list