[Pkg-samba-maint] Bug#800003: samba-common-bin: samba-tool classic update w/LDAP - parsing error
Peter Tuharsky
tuharsky at misbb.sk
Fri Sep 25 07:29:39 UTC 2015
Package: samba-common-bin
Version: 2:4.1.17+dfsg-2
Severity: important
Tags: upstream patch
Dear Maintainer,
I have encountered a problem with classicupdate with previous LDAP backend.
The process goes normal, occasional "group already exists" etc.
But it ends up with an error:
ERROR(<type 'exceptions.ValueError'>): uncaught exception - unable to
parse dn string
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line
1321, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 903, in
upgrade_from_samba3
add_group_from_mapping_entry(result.samdb, g, logger)
File "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 274, in
add_group_from_mapping_entry
m.dn = ldb.Dn(samdb, "CN=%s,CN=Users,%s" % (groupmap.nt_name,
samdb.get_default_basedn()))
I have consulted the error in Samba mailing list (23.9.2015 10:42).
Andrew Bartlett has proposed a patch (24.9.2015 at 9:57).
I asked for help (documentation), since I have no experience
with patching the distributional Samba, therefore I'm not sure
that I will do that correctly, thus unable to guarantee proper patch
testing.
L.P.H. van Belle (24.9.2015 12:49) suggested me to ask the package maintainer.
So I'm asking here. Please, could You apply the Andrew's patch and send me
the .deb so that I could test the patch? It could help correct the bug in
upstream.
Sincerely,
Peter
-- System Information:
Debian Release: 8.2
APT prefers stable
APT policy: (900, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=sk_SK.UTF-8, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages samba-common-bin depends on:
ii libbsd0 0.7.0-2
ii libc6 2.19-18+deb8u1
ii libcomerr2 1.42.12-1.1
ii libgssapi3-heimdal 1.6~rc2+dfsg-9
ii libkrb5-26-heimdal 1.6~rc2+dfsg-9
ii libldap-2.4-2 2.4.40+dfsg-1+deb8u1
ii libncurses5 5.9+20140913-1+b1
ii libpopt0 1.16-10
ii libreadline6 6.3-8+b3
ii libtalloc2 2.1.1-2
ii libtdb1 1.3.1-1
ii libtevent0 0.9.21-1
ii libtinfo5 5.9+20140913-1+b1
ii libwbclient0 2:4.1.17+dfsg-2
ii python 2.7.9-1
ii python-samba 2:4.1.17+dfsg-2
pn python2.7:any <none>
ii samba-common 2:4.1.17+dfsg-2
ii samba-libs 2:4.1.17+dfsg-2
samba-common-bin recommends no packages.
Versions of packages samba-common-bin suggests:
pn heimdal-clients <none>
-- no debconf information
More information about the Pkg-samba-maint
mailing list