upgradeprovision fails

Matthieu Patou mat at matws.net
Mon Aug 9 23:54:04 MDT 2010


  On 10/08/2010 05:23, srikumar108 at aol.com wrote:
>
>
>   # upgradeprovision --full -s /usr/local/samba/etc/smb.conf
> Creating a reference provision
> pdc_fsmo_init: no domain object present: (skip loading of domain details)
>
> naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)
>
> naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)
>
> naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)
>
> Copy privilege
> Update base samdb by searching difference with reference one
> Starting update of samdb
> There are 0 missing objects
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> Exception during upgrade of samdb:
> Traceback (most recent call last):
>    File "/usr/local/samba/sbin/upgradeprovision", line 1004, in update_partition
>      provisionUSNs, names.invocation)
>    File "/usr/local/samba/sbin/upgradeprovision", line 849, in update_present
>      if handle_special_case(att, delta, reference, current, usns, basedn, samdb):
>    File "/usr/local/samba/sbin/upgradeprovision", line 306, in handle_special_case
>      flag = delta.get(att).flags()
> AttributeError: 'NoneType' object has no attribute 'flags'
> Update failed
> Rollbacking every changes. Check the reason of the problem
> In any case your system as it was before the upgrade
>
can you try the attached patch it will add more debug.
> BTW, does 'There are 0 missing objects' actually mean that the upgrade was successful?
>
No it means that you didn't have any missing objects in your current 
provision, but upgradeprovision also change the existing objects.

Matthieu.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100810/a2ee0ec2/attachment.ksh>


More information about the samba-technical mailing list