samba4: upgradeprovision --full fails

srikumar 108 srikumar108 at gmail.com
Sun Sep 26 15:56:30 MDT 2010


No go :-(

I did a git pull today. And the patch you sent seems to have been
already applied. Here's what I got:

Find a last provision USN, 22 range(s)
rootdn      :DC=test,DC=com
configdn    :CN=Configuration,DC=test,DC=com
schemadn    :CN=Schema,CN=Configuration,DC=test,DC=com
serverdn    :CN=LUCID,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=test,DC=com
netbiosname :LUCID
defaultsite :Inter-Site Transports
dnsdomain   :test.com
hostname    :lucid
domain      :TEST
realm       :TEST.COM
invocationid:xyz
policyguid  :xyz
policyguiddc:xyz
domainsid   :xyz
domainguid  :xytz
ntdsguid    :xyz
domainlevel :2
Creating a reference provision
More than one IPv4 address found. Using x.x.x.x
Copy privilege
Update base samdb by searching difference with reference one
Starting update of samdb
There are 1 missing objects
Object CN=dns-lucid,CN=Users,DC=test,DC=com will be added
Not applying delta to @ATTRIBUTES because there is not only add
Reloading a merged schema, it might trigger reindexing so please be patient
Schema reloaded !
DC=test,DC=com
Attribute: minPwdLength has beencreated/modified/deleted not during a
provision or upgradeprovision: current usn 5121 , do nothing
Attribute: pwdProperties has beencreated/modified/deleted not during a
provision or upgradeprovision: current usn 5119 , do nothing
Exception during upgrade of samdb:
Traceback (most recent call last):
  File "/usr/local/samba/sbin/upgradeprovision", line 1091, in update_partition
    provisionUSNs, names.invocation)
  File "/usr/local/samba/sbin/upgradeprovision", line 855, 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

Thanks for your help.

On Fri, Sep 24, 2010 at 11:36 PM, Matthieu Patou <mat at samba.org> wrote:
>  Hi
>
> Can you try this patch ?
>
>
> Matthieu.
>
> --
> Matthieu Patou
> Samba Team        http://samba.org
>
>


More information about the samba-technical mailing list