Upgradeprovision error

Rohit Rajan rohit.rajan at catalyst-us.com
Wed Jun 23 03:02:32 MDT 2010


Hi Mat,

after the patch i got the following error

./scripting/bin/upgradeprovision --full -s /usr/local/samba/etc/smb.conf
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)

Traceback (most recent call last):
   File "./scripting/bin/upgradeprovision", line 963, in update_partition
     provisionUSNs, names.invocation)
   File "./scripting/bin/upgradeprovision", line 740, in update_present
     identic_rename(samdb, reference[0].dn)
   File "bin/python/samba/upgradehelpers.py", line 425, in identic_rename
     (before, sep, after)=str(dn).partition('=')
AttributeError: 'str' object has no attribute 'partition'

Thanks
Rohit Rajan

On 6/23/2010 10:13 AM, Matthieu Patou wrote:
> On 23/06/2010 08:38, Rohit Rajan wrote:
>> Dear All,
>> following is the error i'm getting when trying to upgrade samba 
>> provision the version i'm running is Version 4.0.0alpha12-GIT-e904443 
>> with the latest GIT which i downloaded today 23-06-10 morning 9.30 IST.
>>
>> # ./scripting/bin/upgradeprovision --full -s 
>> /usr/local/samba/etc/smb.conf
>> Traceback (most recent call last):
>>   File "./scripting/bin/upgradeprovision", line 25, in ?
>>     import ldb
>> ImportError: No module named ldb
>>
>> Thanks
>> Rohit Rajan
>
> Hi Rohit,
>
> Try this patch.
>
>

This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. 

Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by "Catalyst Business Partners" or any of its subsidiaries unless sent with that express intent and with due authority of Catalyst Business Partners. 

Catalyst Business Partners has taken sufficient measures and precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.



More information about the samba-technical mailing list