Samba 4 upgrade problem

Jelmer Vernooij jelmer at samba.org
Tue Jan 4 18:49:53 MST 2011


On Tue, 2011-01-04 at 18:01 -0600, Taylor, Jonn wrote:
> Ok, so that fixed that problem but when i did make install it changed
> the domain sid or deleted all the users. So I wend back to my backup and
> ran it like this but an error.
> 
> [root at pdc source4]# ./scripting/bin/upgradeprovision -s
> /usr/local/samba/etc/smb.conf --full
> Creating a reference provision
> Copy privilege
> Update base samdb by searching difference with reference one
> Starting update of samdb
> There are 0 missing objects
> Reloading a merged schema, it might trigger reindexing so please be patient
> Schema reloaded !
> Exception during upgrade of samdb:
> Traceback (most recent call last):
>   File "./scripting/bin/upgradeprovision", line 1106, in update_partition
>     provisionUSNs, names.invocation)
>   File "./scripting/bin/upgradeprovision", line 863, in update_present
>     if current[0].get():
> TypeError: function takes exactly 1 argument (0 given)
> Update failed
> Rollbacking every changes. Check the reason of the problem
> In any case your system as it was before the upgrade
> [root at pdc source4]#
This looks like a bug in the upgradeprovision script. I've pushed a fix
to the autobuild system (should land on git master in an hour or so),
can you see if that fixes the problem for you?

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110105/27301c1a/attachment.pgp>


More information about the samba-technical mailing list