[Samba] classicupgrade fails on rc6, worked on rc5
Andrew Bartlett
abartlet at samba.org
Tue Dec 4 16:36:51 MST 2012
On Tue, 2012-12-04 at 15:41 -0500, Thomas Simmons wrote:
> 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
Sorry for the inconvenience, please try this patch.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-scripting-Handle-missing-LDAP-entries-in-samba-tool-.patch
Type: text/x-patch
Size: 1552 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20121205/3578373b/attachment.bin>
More information about the samba
mailing list