[Samba] [PATCH] Re: Failing replication

Alexander Harm alexander.harm at apfel-q.de
Sat Feb 22 07:49:43 UTC 2020


Hi there,

I was wondering, if there are any more ideas regarding this matter.

Have a nice weekend,

Alexander




On 12. February 2020 at 07:07:02, Andrew Bartlett via samba (samba at lists.samba.org) wrote:

I've been busy with other matters, including a serious issue with  
SCOPE_ONELEVEL searches (  
https://gitlab.com/samba-team/samba/-/merge_requests/1125).  

If this is urgent or critical, then commercial support is the way to  
go, otherwise I'll assist as able.  

Sorry,  

Andrew Bartlett  

On Wed, 2020-02-12 at 07:01 +0100, Alexander Harm via samba wrote:  
> Any update on this one?  
>  
> Is there anything I can do from my side? I’m prepared to nuke my Samba DC’s and start afresh if necessary. Currently I have three sites not picking up changes so I’m getting a bit anxious here…  
>  
>  
>  
>  
> On 10. February 2020 at 19:52:02, Andrew Bartlett (abartlet at samba.org) wrote:  
>  
> Thanks. This is a different issue. I'll continue the thread on-list  
> once I get to work.  
>  
> Andrew Bartlett  
>  
> On Mon, 2020-02-10 at 19:14 +0100, Alexander Harm wrote:  
> > OK, I only received a message the first time about a size and not a general limitation. Find attached.  
> >  
> >  
> >  
> >  
> > On 10. February 2020 at 18:39:02, Andrew Bartlett via samba (samba at lists.samba.org) wrote:  
> >  
> > > This list strips attachments, you will need to ensure I'm in the CC to  
> > > get me any attachments.  
> > >  
> > > Sorry,  
> > >  
> > > Andrew Bartlett  
> > >  
> > > On Mon, 2020-02-10 at 13:04 +0100, Alexander Harm via samba wrote:  
> > > > Thanks for your invaluable help.  
> > > >  
> > > > I proceeded as advised and installed the patched packages. Still an error though, debug.txt attached.  
> > > >  
> > > > Regards, Alexander  
> > > >  
> > > >  
> > > >  
> > > >  
> > > > On 10. February 2020 at 11:17:02, L.P.H. van Belle via samba (samba at lists.samba.org) wrote:  
> > > >  
> > > > Hai Alexander,  
> > > >  
> > > > I had a quick look, sorry for all the absence but im very buzzy atm with some office work.  
> > > >  
> > > > A quick howto for add this in the "debian" way.  
> > > > If you run apt-get source against my repo, all sources are there.  
> > > >  
> > > > So.  
> > > > apt-get source samba  
> > > >  
> > > > cd samba-4.11.6+dfsg/debian/patches  
> > > > Add the patch-file here.  
> > > >  
> > > > editor series  
> > > > Add the name of the patch on the bottem.  
> > > >  
> > > > Now, to make sure your patch is in the package you rename the package in the changelog.  
> > > > cd ..  
> > > > editor changelog  
> > > > Rename this : samba (2:4.11.6+dfsg-0.1buster1)  
> > > > To  
> > > > samba (2:4.11.6+dfsg-0.1buster1.1)  
> > > >  
> > > > That makes sure if im upgradeing or adding patches your in the upgrade path again of my repo.  
> > > > If i add new patches, my packages are named : samba (2:4.11.6+dfsg-0.1buster2)  
> > > >  
> > > > 2:4.11.6+dfsg-0 - official debian nameing  
> > > > 2:4.11.6+dfsg-0.1 - my addition, and note, 0. is not released by debian anything as of -1 is.  
> > > >  
> > > > After above change.  
> > > >  
> > > > cd ../..  
> > > >  
> > > > apt-get build-dep samba  
> > > > apt-get source samba -b  
> > > > Because samba is already extacted, it will pickup the current dir incl the changes.  
> > > > And build the new packages.  
> > > >  
> > > > Now of manually install them, of setup a local repo and add them there.  
> > > >  
> > > > Good luck,  
> > > >  
> > > > If the patch works out, i'll add it to my packages.  
> > > >  
> > > > Greetz,  
> > > >  
> > > > Louis  
> > > >  
> > > >  
> > > >  
> > > >  
> > > > > -----Oorspronkelijk bericht-----  
> > > > > Van: samba [mailto:samba-bounces at lists.samba.org] Namens  
> > > > > Alexander Harm via samba  
> > > > > Verzonden: maandag 10 februari 2020 10:49  
> > > > > Aan: samba at lists.samba.org  
> > > > > Onderwerp: Re: [Samba] [PATCH] Re: Failing replication  
> > > > >  
> > > > > Hi there,  
> > > > >  
> > > > > I would like to continue on this one. I applied the patch but  
> > > > > am wondering which package it influences.  
> > > > >  
> > > > > If it is just the two mentioned than it did not fix the error.  
> > > > >  
> > > > > Regards, Alexander  
> > > > >  
> > > > >  
> > > > >  
> > > > >  
> > > > > On 8. February 2020 at 09:46:11, Alexander Harm  
> > > > > (alexander.harm at apfel-q.de) wrote:  
> > > > >  
> > > > > Hi Andrew,  
> > > > >  
> > > > > I applied your patch to the Debian packages of Louis.  
> > > > >  
> > > > > Do you happen to know in which package it will end up? Tried  
> > > > > samba and samba-dsdb-modules but the error remains the same.  
> > > > >  
> > > > > Alexander  
> > > > >  
> > > > >  
> > > > >  
> > > > >  
> > > > > On 8. February 2020 at 01:38:25, Alexander Harm  
> > > > > (alexander.harm at apfel-q.de) wrote:  
> > > > >  
> > > > > Hi Andrew,  
> > > > >  
> > > > > you can use my name if you want (Alexander Harm). I will try  
> > > > > and build with your patch.  
> > > > >  
> > > > > Alexander  
> > > > >  
> > > > >  
> > > > >  
> > > > >  
> > > > > On 8. February 2020 at 00:30:02, Andrew Bartlett  
> > > > > (abartlet at samba.org) wrote:  
> > > > >  
> > > > > Thanks. At this stage is looks like a bug in the repl_meta_data  
> > > > > module.  
> > > > >  
> > > > > Try the attached patch.  
> > > > >  
> > > > > Can I name you in the bug and is there any affiliation (eg employer)  
> > > > > you would like named?  
> > > > >  
> > > > > I've filed a bug and will file a merge request once I have a test to  
> > > > > confirm this.  
> > > > >  
> > > > > https://bugzilla.samba.org/show_bug.cgi?id=14272  
> > > > >  
> > > > > Thanks!  
> > > > >  
> > > > > Andrew Bartlett  
> > > > >  
> > > > > On Fri, 2020-02-07 at 23:34 +0100, Alexander Harm via samba wrote:  
> > > > > > Hi,  
> > > > > >  
> > > > > > as instructed I upgraded to “Version 4.11.6-Debian”.  
> > > > > >  
> > > > > > Attached the new debug file.  
> > > > > >  
> > > > > > Regards, Alexander  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > > On 7. February 2020 at 10:01:02, Andrew Bartlett via samba  
> > > > > (samba at lists.samba.org) wrote:  
> > > > > > I would fix that first, please run Samba 4.11.  
> > > > > >  
> > > > > > We have done much on replication since then and I'm keen to rule out  
> > > > > > things we have already fixed before digging into this further.  
> > > > > >  
> > > > > > Thanks!  
> > > > > >  
> > > > > > Andrew Bartlett  
> > > > > >  
> > > > > > On Fri, 2020-02-07 at 09:55 +0100, Alexander Harm via samba wrote:  
> > > > > > > Version 4.9.5-Debian  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > > On 7. February 2020 at 09:55:02, Andrew Bartlett via  
> > > > > samba (samba at lists.samba.org) wrote:  
> > > > > > > Much better. What Samba version is this?  
> > > > > > >  
> > > > > > > Andrew Bartlett  
> > > > > > >  
> > > > > > > On Fri, 2020-02-07 at 09:44 +0100, Alexander Harm via samba wrote:  
> > > > > > > > Is this better?  
> > > > > > > >  
> > > > > > > >  
> > > > > > > >  
> > > > > > > >  
> > > > > > > > On 7. February 2020 at 09:42:01, Andrew Bartlett via  
> > > > > samba (samba at lists.samba.org) wrote:  
> > > > > > > > I mean the final columns, not lines. There are long  
> > > > > lines that seem to  
> > > > > > > > be cut off mid-word, rather than wrapped.  
> > > > > > > >  
> > > > > > > > Andrew Bartlett  
> > > > > > > >  
> > > > > > > > On Fri, 2020-02-07 at 09:14 +0100, Alexander Harm via  
> > > > > samba wrote:  
> > > > > > > > > I did but these are the last lines. It ends with  
> > > > > “raise e” also in the shell.  
> > > > > > > > > I also ran it on the other DCs and they all end with  
> > > > > “raise e”.  
> > > > > > > > > Alexander  
> > > > > > > > >  
> > > > > > > > >  
> > > > > > > > >  
> > > > > > > > >  
> > > > > > > > > On 7. February 2020 at 09:12:02, Andrew Bartlett  
> > > > > (abartlet at samba.org) wrote:  
> > > > > > > > > G'Day Alexander,  
> > > > > > > > >  
> > > > > > > > > It looks like you have copied the logs out of a  
> > > > > terminal and lost the  
> > > > > > > > > ends of the lines. Those have the critical (groan...)  
> > > > > details of what  
> > > > > > > > > went wrong with the apparent 'critical extension' failure.  
> > > > > > > > >  
> > > > > > > > > Can you try and get those and I'll look at them tomorrow.  
> > > > > > > > >  
> > > > > > > > > Thanks!  
> > > > > > > > >  
> > > > > > > > > Andrew Bartlett  
> > > > > > > > >  
> > > > > > > > > On Fri, 2020-02-07 at 08:56 +0100, Alexander Harm via  
> > > > > samba wrote:  
> > > > > > > > > > Hi Andrew,  
> > > > > > > > > >  
> > > > > > > > > > thanks for your reply. Find attached the output of  
> > > > > the command. Looks like it fails on renaming an object to me.  
> > > > > > > > > > Regards, Alexander  
> > > > > > > > > >  
> > > > > > > > > >  
> > > > > > > > > >  
> > > > > > > > > >  
> > > > > > > > > > On 7. February 2020 at 08:50:02, Andrew Bartlett  
> > > > > via samba (samba at lists.samba.org) wrote:  
> > > > > > > > > > On Wed, 2020-02-05 at 23:41 +0100, Alexander Harm  
> > > > > via samba wrote:  
> > > > > > > > > > > Hello,  
> > > > > > > > > > >  
> > > > > > > > > > > we could need some help resolving a replication  
> > > > > issue we experience since one week.  
> > > > > > > > > > > Running samba-tool drs replicate ka-h9-dc02  
> > > > > VMDC-AZURE-01 dc=ds,dc=example,dc=com --sync-all -d 9 returns  
> > > > > > > > > > Do that again with --local and we should get a  
> > > > > better set of info in  
> > > > > > > > > > the logs.  
> > > > > > > > > >  
> > > > > > > > > > Andrew Bartlett  
> > > > > > > > > > --  
> > > > > > > > > > Andrew Bartlett http://samba.org/~abartlet/  
> > > > > > > > > > Authentication Developer, Samba Team http://samba.org  
> > > > > > > > > > Samba Developer, Catalyst IT  
> > > > > http://catalyst.net.nz/services/samba  
> > > > > > > > > >  
> > > > > > > > > >  
> > > > > > > > > --  
> > > > > > > > > Andrew Bartlett http://samba.org/~abartlet/  
> > > > > > > > > Authentication Developer, Samba Team http://samba.org  
> > > > > > > > > Samba Developer, Catalyst IT  
> > > > > http://catalyst.net.nz/services/samba  
> > > > > > > > >  
> > > > > > > > --  
> > > > > > > > Andrew Bartlett http://samba.org/~abartlet/  
> > > > > > > > Authentication Developer, Samba Team http://samba.org  
> > > > > > > > Samba Developer, Catalyst IT  
> > > > > http://catalyst.net.nz/services/samba  
> > > > > > > >  
> > > > > > > >  
> > > > > > > > --  
> > > > > > > > To unsubscribe from this list go to the following URL  
> > > > > and read the  
> > > > > > > > instructions: https://lists.samba.org/mailman/options/samba  
> > > > > > > --  
> > > > > > > Andrew Bartlett http://samba.org/~abartlet/  
> > > > > > > Authentication Developer, Samba Team http://samba.org  
> > > > > > > Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > > --  
> > > > > > > To unsubscribe from this list go to the following URL and read the  
> > > > > > > instructions: https://lists.samba.org/mailman/options/samba  
> > > > > > --  
> > > > > > Andrew Bartlett http://samba.org/~abartlet/  
> > > > > > Authentication Developer, Samba Team http://samba.org  
> > > > > > Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > > --  
> > > > > > To unsubscribe from this list go to the following URL and read the  
> > > > > > instructions: https://lists.samba.org/mailman/options/samba  
> > > > > --  
> > > > > Andrew Bartlett http://samba.org/~abartlet/  
> > > > > Authentication Developer, Samba Team http://samba.org  
> > > > > Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba  
> > > > >  
> > > > > --  
> > > > > To unsubscribe from this list go to the following URL and read the  
> > > > > instructions: https://lists.samba.org/mailman/options/samba  
> > > > >  
> > > > >  
> > > >  
> > > > --  
> > > > To unsubscribe from this list go to the following URL and read the  
> > > > instructions: https://lists.samba.org/mailman/options/samba  
> > > --  
> > > Andrew Bartlett http://samba.org/~abartlet/  
> > > Authentication Developer, Samba Team http://samba.org  
> > > Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba  
> > >  
> > >  
> > >  
> > > --  
> > > To unsubscribe from this list go to the following URL and read the  
> > > instructions: https://lists.samba.org/mailman/options/samba  
> --  
> Andrew Bartlett http://samba.org/~abartlet/  
> Authentication Developer, Samba Team http://samba.org  
> Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba  
>  
>  
--  
Andrew Bartlett http://samba.org/~abartlet/  
Authentication Developer, Samba Team http://samba.org  
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba  



--  
To unsubscribe from this list go to the following URL and read the  
instructions: https://lists.samba.org/mailman/options/samba  


More information about the samba mailing list