Re: [Samba] Update A Compiled Version

2012-12-26 Thread Andrew Bartlett
On Thu, 2012-12-20 at 11:20 -0700, Zane Zakraisek wrote:
> I'm pretty new to compiling software, although I would rather compile my
> own Samba 4.0.0 server rather than wait for it to become available in the
> repositories of my distribution. How do you update compiled software. Like
> if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a
> way to update to that without starting from scratch and having to rebuild
> my domain? Thanks

Just installing it on top works most of the time.  If you have problems,
remove the binaries (.so files and files in bin and sbin) and the
re-install.

We handle reading and using the sam.ldb and other files in private/ (and
elsewhere) from older versions as a natural part of running the updated
version.  The WHATSNEW suggests a dbcheck command that can be very
helpful.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org


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


Re: [Samba] Update A Compiled Version

2012-12-26 Thread Andrew Bartlett
On Tue, 2012-12-25 at 18:24 -0500, Robert Heller wrote:
> At Thu, 20 Dec 2012 11:20:40 -0700 Zane Zakraisek  
> wrote:
> 
> > 
> > I'm pretty new to compiling software, although I would rather compile my
> > own Samba 4.0.0 server rather than wait for it to become available in the
> > repositories of my distribution. How do you update compiled software. Like
> > if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a
> > way to update to that without starting from scratch and having to rebuild
> > my domain? Thanks
> 
> Most (all?) Linux distributions include a compiled version of Samba as
> part of the distriution's software repository.  Check to see what your
> distribution makes available.

No major Distributions yet include a full version of Samba 4.0 at this
stage, as far as I'm aware.  (There are major issues for all
distributions in integrating the whole of Samba 4.0, if the distribution
either has an objection to our Heimdal Kerberos bundle or is packaging
Samba 3.6 alongside)

This will change, but using 'samba4' packages from the repositories is
sadly not the simple way to obtain Samba 4.0.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org


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


Re: [Samba] Update A Compiled Version

2012-12-25 Thread Novosielski, Ryan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/25/2012 04:37 PM, Zane Zakraisek wrote:
> I'm pretty new to compiling software, although I would rather
> compile my own Samba 4.0.0 server rather than wait for it to become
> available in the repositories of my distribution. How do you update
> compiled software. Like if I compile and install Samba 4.0.0, and
> then 4.0.1 comes out, Is there a way to update to that without
> starting from scratch and having to rebuild my domain? Thanks

I've not used Samba since the 3.0 days actually, but the "make
install" process would upgrade an install in place. I believe it could
revert to the previous version too by unrenaming all of the old files.

- -- 
-  _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDaYPUACgkQmb+gadEcsb63pwCcC4k8/5StqSQuMbpj9fv3tsPs
h6wAn1O5XdWDinBwcL4KvCEaoP71f3bd
=eISi
-END PGP SIGNATURE-

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


Re: [Samba] Update A Compiled Version

2012-12-25 Thread Mark DM
He could be using an older distro that never will have it in the
repos. I think the bigger question is how will he update it once an
update is released if he does compile it, and a I see it that remains
unanswered, as I too share the same question.

I never trust version  X.00, as it is never long before the fixes make it X.01

On Tue, Dec 25, 2012 at 11:24 PM, Robert Heller  wrote:
> At Thu, 20 Dec 2012 11:20:40 -0700 Zane Zakraisek  
> wrote:
>
>>
>> I'm pretty new to compiling software, although I would rather compile my
>> own Samba 4.0.0 server rather than wait for it to become available in the
>> repositories of my distribution. How do you update compiled software. Like
>> if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a
>> way to update to that without starting from scratch and having to rebuild
>> my domain? Thanks
>
> Most (all?) Linux distributions include a compiled version of Samba as
> part of the distriution's software repository.  Check to see what your
> distribution makes available.
>
>
> --
> Robert Heller -- 978-544-6933 / hel...@deepsoft.com
> Deepwoods Software-- http://www.deepsoft.com/
> ()  ascii ribbon campaign -- against html e-mail
> /\  www.asciiribbon.org   -- against proprietary attachments
>
>
>
> --
> 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


Re: [Samba] Update A Compiled Version

2012-12-25 Thread Robert Heller
At Thu, 20 Dec 2012 11:20:40 -0700 Zane Zakraisek  wrote:

> 
> I'm pretty new to compiling software, although I would rather compile my
> own Samba 4.0.0 server rather than wait for it to become available in the
> repositories of my distribution. How do you update compiled software. Like
> if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a
> way to update to that without starting from scratch and having to rebuild
> my domain? Thanks

Most (all?) Linux distributions include a compiled version of Samba as
part of the distriution's software repository.  Check to see what your
distribution makes available.


-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



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


[Samba] Update A Compiled Version

2012-12-25 Thread Zane Zakraisek
I'm pretty new to compiling software, although I would rather compile my
own Samba 4.0.0 server rather than wait for it to become available in the
repositories of my distribution. How do you update compiled software. Like
if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a
way to update to that without starting from scratch and having to rebuild
my domain? Thanks
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba