Am 11.08.2020 um 16:02 schrieb Rowland penny via samba:> On 11/08/2020 14:54, Lothar Schilling via samba wrote: >> Yep, that did it, thanks a lot, "-k yes" wasn't good enough. There now >> was another error, though: >> >> ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module' >> object has no attribute 'drs_utils' >> >> The solution offered and working is inserting >> >> ?? import samba >> ?? import samba.getopt as options >> ?? import ldb >> +import samba.drs_utils >> ?? from ldb import LdbError >> >> into >> >> /usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py >> >> Lothar > > It looks like you are using an unsupported (by Samba) version of > Samba, I suggest you upgrade as soon as possible. > > RowlandThat's what I did: /etc/apt/sources.list deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 DVD Binary-1 20200509-10:26]/ buster contrib main deb deb.debian.org/debian buster main deb-src deb.debian.org/debian buster main deb security.debian.org/debian-security buster/updates main contrib deb-src security.debian.org/debian-security buster/updates main contrib deb deb.debian.org/debian buster-updates main contrib deb-src deb.debian.org/debian buster-updates main contrib deb ftp.de.debian.org/debian buster main contrib non-free deb-src ftp.de.debian.org/debian buster main contrib non-free apt-get install samba libpam-heimdal heimdal-clients ldb-tools winbind libpam-winbind smbclient libnss-winbind bind9 bind9utils dnsutils Lothar
On 11/08/2020 16:05, Lothar Schilling via samba wrote:> That's what I did: > > /etc/apt/sources.list > > deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 DVDThat will get you Samba 4.9.5, which is only supported by Debian, you may or may not get Samba updates, it depends on whether Debian backports them. You could go here: apt.van-belle.nl That repo (provided by a member of the Samba team) will allow you to get and use Samba 4.12.5 Rowland
Am 11.08.2020 um 17:12 schrieb Rowland penny via samba:> On 11/08/2020 16:05, Lothar Schilling via samba wrote: >> That's what I did: >> >> /etc/apt/sources.list >> >> deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 DVD > > That will get you Samba 4.9.5, which is only supported by Debian, you > may or may not get Samba updates, it depends on whether Debian > backports them. > > You could go here: apt.van-belle.nl > > That repo (provided by a member of the Samba team) will allow you to > get and use Samba 4.12.5 > > RowlandThanks for your advice. Will do that.