upgradeprovision from Samba 4.0.0alpha12-GIT-77b9b97 fails

Matthieu Patou mat at samba.org
Wed Sep 15 04:08:30 MDT 2010

  On 15/09/2010 12:50, Lukasz Zalewski wrote:
> Hi all,
> I have just tried to upgrade the above provision using 
> ./scripting/bin/upgradeprovision -s /usr/local/samba/etc/smb.conf --full
> to the latest master and i get the following error:
> Exception during upgrade of samdb:
> Traceback (most recent call last):
>   File "./scripting/bin/upgradeprovision", line 1071, in update_partition
>     provisionUSNs, names.invocation)
>   File "./scripting/bin/upgradeprovision", line 856, in update_present
>     current[0][att], reference[0][att], delta)
> KeyError: 'No such element'
> Update failed
Could you add a print of "att"  and on the dn (ie. str(current[0].dn)) 
to see on which attribute it has a pb and on which dn ...


Matthieu Patou
Samba Team        http://samba.org

More information about the samba-technical mailing list