[Samba] Classicupgrade of 4.1.17 error: "list index out of range"
Denis Cardon
denis.cardon at tranquil-it-systems.fr
Wed Jun 29 16:08:36 UTC 2016
Hi MI,
> I'm trying to upgrade to AD from a Samba 4 PDC with openLDAP (on Debian 8).
>
> I'm stuck at this very unhelpful error:
>
> # samba-tool domain classicupgrade --dbdir=/usr/local/samba.PDC/dbdir/
> --use-xattrs=yes --realm=ad.mydomain.tld --dns-backend=SAMBA_INTERNAL
> --option="interfaces=lo eth2" --option="bind interfaces only=yes"
> /etc/samba/smb.conf.PDC
> Reading smb.conf
> Provisioning
> Exporting account policy
> Exporting groups
> Exporting users
> Skipping wellknown rid=501 (for username=nobody)
> Next rid = 3307
> ERROR(<type 'exceptions.IndexError'>): uncaught exception - list
> index out of range
> 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
> 796, in
> upgrade_from_samba3
> urls = samba3.lp.get("passdb backend").split(":",1)[1].strip('"')
could you please post the "passdb backend" line of your
/etc/samba/smb.conf.PDC file? (or even better post the whole file)?
Thanks,
Denis
>
>
> Any ideas on how to fix it or at least find some better clue?
>
> # samba --version
> Version 4.1.17-Debian
>
> # lsb_release -d
> Description: Debian GNU/Linux 8.3 (jessie)
>
>
>
> Thanks.
>
--
Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint SĂ©bastien sur Loire
tel : +33 (0) 2.40.97.57.55
http://www.tranquil-it-systems.fr
More information about the samba
mailing list