[Samba] new DC via clone..

Joachim Lindenberg samba at lindenberg.one
Thu Jul 25 15:06:38 UTC 2024


Hello Rowland,
I have to recognize that asking to compile the distro version is a valid argument.
Hello Michael,
can you please explain, how I can compile Samba as I am using your distro (deb [signed-by=/etc/apt/mjt.key] http://www.corpit.ru/mjt/packages/samba jammy/samba-4.19/)?
Thanks,
Joachim

> -----Ursprüngliche Nachricht-----
> Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland
> Penny via samba
> Gesendet: Mittwoch, 24. Juli 2024 11:31
> An: samba at lists.samba.org
> Cc: Rowland Penny <rpenny at samba.org>
> Betreff: Re: [Samba] new DC via clone..
> 
> On Wed, 24 Jul 2024 09:01:54 +0200
> Joachim Lindenberg via samba <samba at lists.samba.org> wrote:
> 
> > Hello Rowland, all of Samba,
> >
> > imho the fact that one cannot simply replace parts of samba is a
> > severe restriction to analyze and fix issues. I decided to compile the
> > exact same version that was in place, and ran into issues.
> 
> Well yes, but you seemingly didn't compile Samba in the same way as your
> original installed Samba.
> 
> > Imho Samba should have instructions on how to compile a version
> > matching the installed version and configuration. Figuring out the
> > delta between the two configurations is beyond my current knowledge.
> 
> And mine.
> 
> >
> > My goal was very, very simple. In line 630 of
> > source4/samba/process_prefork.c I wanted to add the service name in
> > order to make visible, what service failed: DBG_ERR("Parent %d, Child
> > %d, Service %s exited with status %d\n", getpid(), pid,
> > rc->service_name, status);
> 
> Whilst this sounds very easy to do, to do it correctly you would need to know
> just where 'process_prefork.c' ends up, what particular part of Samba uses it,
> once that is known, you could just replace that particular piece of Samba,
> provided everything else is compiled exactly in the same way, I don't think
> that would be easy. The easiest way would be to rebuild your distros Samba
> package sources using your slight change and then install the resultant Samba
> packages over your install.
> 
> Rowland
> 
> --
> 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