upgradedns issue

Amitay Isaacs amitay at gmail.com
Tue Jun 12 21:51:34 MDT 2012


On Wed, Jun 13, 2012 at 1:15 AM, Aaron E. <ssureshot at gmail.com> wrote:
> On 06/11/2012 09:40 PM, Amitay Isaacs wrote:
>>
>> On Tue, Jun 12, 2012 at 4:23 AM, Aaron E.<ssureshot at gmail.com>  wrote:
>>>
>>> On 06/05/2012 02:02 PM, Aaron E. wrote:
>>>>
>>>>
>>>> I had issues upgrading to the beta using the dns flatfile so now I'm
>>>> trying to get the bind9_dlz working.. I've disabled bind9 on the
>>>> secondary for the time being to verify that just the primary with
>>>> replication was working after upgradedns was run..
>>>>
>>>> Primary is working great.. When I try to run samba_upgradedns on the
>>>> secondary dc I get the following error..
>>>>
>>>> dmapi: 5
>>>> registry: 5
>>>> Processing section "[netlogon]"
>>>> Processing section "[sysvol]"
>>>> Processing section "[profiles]"
>>>> pm_process() returned Yes
>>>> schema_fsmo_init: we are master[no] updates allowed[no]
>>>> Looking up IPv4 addresses
>>>> interpret_interface: using netmask value 32 from config file on
>>>> interface bond0:x02
>>>> added interface bond0:x02 ip=10.150.10.2 bcast=10.150.10.2
>>>> netmask=255.255.255.255
>>>> Looking up IPv6 addresses
>>>> interpret_interface: using netmask value 32 from config file on
>>>> interface bond0:x02
>>>> added interface bond0:x02 ip=10.150.10.2 bcast=10.150.10.2
>>>> netmask=255.255.255.255
>>>> DNS accounts already exist
>>>> Reading records from zone file
>>>> /opt/samba4/private/dns/astrointernal.com.zone
>>>> Error parsing DNS data from
>>>> '/opt/samba4/private/dns/astrointernal.com.zone' ()
>>>> DNS records will be automatically created
>>>> DNS partitions already exist
>>>> Traceback (most recent call last):
>>>> File "/opt/samba4/sbin/samba_upgradedns", line 421, in<module>
>>>> ldbs.sam.modify(m)
>>>> _ldb.LdbError: (16, "Attribute hasPartialReplicaNCs doesn't exist for
>>>> target GUID 9633e06f-4ca9-4782-a1b8-36a868ba1635")
>>>>
>>>>
>>>
>>> Just curious if anyone had any time to put a quick eye on this? I'm ready
>>> to
>>> do any testing that needs done..
>>>
>>
>> Hi Aaron,
>>
>> This issue should be fixed in the current master. What version of
>> samba are you using?
>>
>> Amitay.
>>
>
> The script is dated June 5th,
> -rwxr-xr-x 1 root root   17565 Jun  5 09:05 samba_upgradedns
>
> this was the date of the previous upgrade I completed. It doesn't look like
> it updated the script with yesterdays update.
>
> I did not run git clean -x -f -d when I updated yesterday but I did on the
> 5th...
>

Hi Aaron,

Can you tell me the output of the following commands on both DCs?

 # ldbsearch -H /path/to/sam.ldb "(objectclass=ntdsdsa)" --cross-ncs
 # ldbsearch -H /path/to/sam.ldb "(objectclass=crossref)" --cross-ncs

Amitay.


More information about the samba-technical mailing list