upgradeprovision from Samba 4.0.0alpha12-GIT-77b9b97 fails

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Wed Sep 15 06:07:56 MDT 2010


On 09/15/2010 12:59 PM, Lukasz Zalewski wrote:
> On 09/15/2010 11:08 AM, Matthieu Patou wrote:
>> 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
>>
>
> Hi Matthieu,
> the error happens in the following dn:
> CN=Account Operators,CN=Builtin,DC=<mydomain> att member
>
> i have added a member to that group recently
>
> Luk

Digging deeper it seems to be caused by reference[0][att] not existing, 
which is true, as this member was added between two upgrade provisions.

Luk


More information about the samba-technical mailing list