On 18/04/16 19:35, Alexsandro Oliveira wrote:> Hello guys > . > I am Brazilian and I'm using google translate to ask some questions. > The question is the following: > > How do I apply this patch on my samba? > https://download.samba.org/pub/samba/patches/samba-4.3.5-4.3.6.diffs.gz > Can I apply this patch on my active server on the client? My server is a > primary domain controller with internal DNS. > > Note: My Server is a Debian 8 and the samba was installed via source code. > > Grateful . > > Alexsandro OliveiraYou do not need to patch your version of Samba, in fact if you did patch your version, you would have to recompile it anyway, so all you need to do is download a later version (why not move to 4.4.2 ?) compile this exactly in the same way as you did your original version, then stop Samba and install it over your original version i.e. ./configure --with-whatever-options-you-used-originally make service samba-ad-dc stop make install service samba-ad-dc start Rowland
Thanks Rowland Just one more 3 questions: 1 - I do not need to stop the samba before running the make command? 2 - The command sequence are below are the same right? ./configure --with-whatever-options-you-used-originally make samba-service ad-dc stop make install samba-service ad-dc start 3 - My Samba domain controller will continue running smoothly? Grateful! Alexsandro Oliveira Note: I used Google Traslater am Brazilian. 2016-04-18 15:54 GMT-03:00 Rowland penny <rpenny at samba.org>:> On 18/04/16 19:35, Alexsandro Oliveira wrote: > >> Hello guys >> . >> I am Brazilian and I'm using google translate to ask some questions. >> The question is the following: >> >> How do I apply this patch on my samba? >> https://download.samba.org/pub/samba/patches/samba-4.3.5-4.3.6.diffs.gz >> Can I apply this patch on my active server on the client? My server is a >> primary domain controller with internal DNS. >> >> Note: My Server is a Debian 8 and the samba was installed via source code. >> >> Grateful . >> >> Alexsandro Oliveira >> > > You do not need to patch your version of Samba, in fact if you did patch > your version, you would have to recompile it anyway, so all you need to do > is download a later version (why not move to 4.4.2 ?) compile this exactly > in the same way as you did your original version, then stop Samba and > install it over your original version i.e. > > ./configure --with-whatever-options-you-used-originally > make > service samba-ad-dc stop > make install > service samba-ad-dc start > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On 18/04/16 20:09, Alexsandro Oliveira wrote:> Thanks Rowland > > Just one more 3 questions: > > 1 - I do not need to stop the samba before running the make command?No, you only need to stop Samba before you run 'make install', it is at this point your Samba binaries etc will be replaced.> 2 - The command sequence are below are the same right? > > ./configure --with-whatever-options-you-used-originally > make > samba-service ad-dc stop > make install > samba-service ad-dc startThe first command (./configure) needs to match whatever you used when you first installed Samba. The third & fifth commands need to be whatever you use to start & stop Samba.> > 3 - My Samba domain controller will continue running smoothly? >Should do, what you are going to do, is what a distro package update would do, replace the Samba binaries etc with newer versions. I updated my two DCs on Sunday in this way. Rowland> Grateful! > > Alexsandro Oliveira > Note: I used Google Traslater am Brazilian. > > 2016-04-18 15:54 GMT-03:00 Rowland penny <rpenny at samba.org > <mailto:rpenny at samba.org>>: > > On 18/04/16 19:35, Alexsandro Oliveira wrote: > > Hello guys > . > I am Brazilian and I'm using google translate to ask some > questions. > The question is the following: > > How do I apply this patch on my samba? > https://download.samba.org/pub/samba/patches/samba-4.3.5-4.3.6.diffs.gz > Can I apply this patch on my active server on the client? My > server is a > primary domain controller with internal DNS. > > Note: My Server is a Debian 8 and the samba was installed via > source code. > > Grateful . > > Alexsandro Oliveira > > > You do not need to patch your version of Samba, in fact if you did > patch your version, you would have to recompile it anyway, so all > you need to do is download a later version (why not move to 4.4.2 > ?) compile this exactly in the same way as you did your original > version, then stop Samba and install it over your original version > i.e. > > ./configure --with-whatever-options-you-used-originally > make > service samba-ad-dc stop > make install > service samba-ad-dc start > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >