any news on the s3 to s4 migration errors?
Andrew Bartlett
abartlet at samba.org
Sat Nov 10 17:03:44 MST 2012
On Sat, 2012-11-10 at 10:07 +0200, Chirana Gheorghita Eugeniu Theodor
wrote:
> Here is the error.
> I also sent a mail to the list days ago with the complete output in a zip.
>
> ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No such element'
> File "/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
> return self.run(*args, **kwargs)
> File "/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py", line
> 1318, in run
> useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
> File "/samba/lib64/python2.6/site-packages/samba/upgrade.py", line 799,
> in upgrade_from_samba3
> shells[username] = get_posix_attr_from_ldap_backend(logger, ldb_object,
> base_dn, username, "loginShell")
> File "/samba/lib64/python2.6/site-packages/samba/upgrade.py", line 545,
> in get_posix_attr_from_ldap_backend
> return msg[0][attr][0]
> The connection to the LDAP server was closed
>
>
>
> Is the loginShell parameter i have in my ldap the problem?
Yes, it is. We should not require that element, but for now we do. We
need to catch the KeyError and skip that attribute in that case.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list