[Samba] GPO-Error
L.P.H. van Belle
belle at bazuin.nl
Thu May 16 11:27:36 UTC 2019
Hai Stefan,
What is the samba version your running now?
Im now at 4.10.3 with my DC's and the command :
samba-tool gpo list username
Then it does show the GPO's for the user.
If you on 4.10, check if these are installed :
ii python3 3.5.3-1 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-apt 1.4.0~beta3 amd64 Python 3 interface to libapt-pkg
ii python3-cffi 1.9.1-2 all Foreign Function Interface for Python 3 calling C code
ii python3-cffi-backend 1.9.1-2 amd64 Foreign Function Interface for Python 3 calling C code - runtime
ii python3-crypto 2.6.1-7 amd64 cryptographic algorithms and protocols for Python 3
ii python3-dnspython 1.15.0-1+deb9u1 all DNS toolkit for Python 3
ii python3-ldb 2:1.5.4-1debian2 amd64 Python 3 bindings for LDB
ii python3-markdown 2.6.8-1 all text-to-HTML conversion library/tool (Python 3 version)
ii python3-minimal 3.5.3-1 amd64 minimal subset of the Python language (default python3 version)
ii python3-pkg-resources 33.1.1-1 all Package Discovery and Resource Access using pkg_resources
ii python3-ply 3.9-1 all Lex and Yacc implementation for Python3
ii python3-pycparser 2.17-2 all C parser in Python 3
ii python3-pygments 2.2.0+dfsg-1 all syntax highlighting package written in Python 3
ii python3-samba 2:4.10.3+nmu-1debian1 amd64 Python 3 bindings for Samba
ii python3-talloc 2.1.16-0nmu1~deb9 amd64 hierarchical pool based memory allocator - Python3 bindings
ii python3-tdb 1.3.18-0.1nmu0~deb9 amd64 Python3 bindings for TDB
ii python3-xattr 0.9.1-1 amd64 module for manipulating filesystem extended attributes - Python 3
ii python3-yaml 3.12-1 amd64 YAML parser and emitter for Python3
ii python3.5 3.5.3-1+deb9u1 amd64 Interactive high-level object-oriented language (version 3.5)
ii python3.5-minimal 3.5.3-1+deb9u1 amd64 Minimal subset of the Python language (version 3.5)
A part of the output of my DC.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Stefan Kania via samba
> Verzonden: donderdag 16 mei 2019 10:00
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] GPO-Error
>
> 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-11D
> 2-945F-00C04FB984F9}
> dn :
> CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=Syste
> m,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-11D
> 2-945F-00C04FB984F9}
> dn :
> CN={6AC1786C-016F-11D2-945F-00C04FB984F9},CN=Policies,CN=Syste
> m,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
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list