[Samba] Another problem with samba4 classicupgrade

Hervé Hénoch h.henoch at isc84.org
Thu Aug 23 03:01:12 MDT 2012


Hello

I've used the following command :

      /usr/local/samba/bin/samba-tool domain classicupgrade
    --dbdir=/root/samba3/ --realm=sc.isc84.org  /root/samba3/smb.conf

And the following error :

...
Importing Account policy
Importing idmap database
Cannot open idmap database, Ignoring: [Errno 2] No such file or directory
Exporting posix attributes
*ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No such element'
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", 
line 160, in _run
     return self.run(*args, **kwargs)
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", 
line 1013, 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 831, in upgrade_from_samba3
     shells[username] = get_posix_attr_from_ldap_backend(logger, 
ldb_object, base_dn, username, "loginShell")
   File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py", 
line 543, in get_posix_attr_from_ldap_backend
     return msg[0][attr][0]*

Any idea ?


More information about the samba mailing list