[Samba] classicupgrade fails on rc6, worked on rc5

Thomas Simmons twsnnva at gmail.com
Tue Dec 4 13:41:30 MST 2012


Hello,

I get the following error when performing a classicupgrade on rc6. This
does not occur with rc4 or rc5. The command I am using is:

samba-tool domain classicupgrade \
--dbdir=/root/import/var/lib/samba  --use-xattrs=yes \
--realm=internal.testdom.com /root/import/etc/samba/smb.conf

ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out
of range
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 175, in _run
    return self.run(*args, **kwargs)
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line
1318, in run
    useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py",
line 800, in upgrade_from_samba3
    homes[username] = get_posix_attr_from_ldap_backend(logger, ldb_object,
base_dn, username, "homeDirectory")
  File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py",
line 546, in get_posix_attr_from_ldap_backend
    return msg[0][attr][0]
The connection to the LDAP server was closed


More information about the samba mailing list