Re: [Samba] Samba 3.0.26a Available for Download

2007-09-13 Thread Mogens Kjaer
Guillermo Gutierrez wrote:
 What about debian packages?

Never tried it, but you might want to look
in the folder packaging/Debian in the source
tree.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-13 Thread simo
On Thu, 2007-09-13 at 08:34 +0200, Mogens Kjaer wrote:
 Guillermo Gutierrez wrote:
  What about debian packages?
 
 Never tried it, but you might want to look
 in the folder packaging/Debian in the source
 tree.

A binary package for Debian will be available here soon:
http://www.samba.org/samba/ftp/Binary_Packages/Debian/

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: [EMAIL PROTECTED]
http://samba.org

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-12 Thread Mogens Kjaer
Ed Kasky wrote:
...
 In your migration back to src, any special considerations?  Or will you
 just remove the rpm and install from the src?  Any considerations for
 the smb.conf?  I can't think of any off hand myself, but thought I'd put
 it out on the list just in case...

This is what I do (CentOS 5):

1. Get the samba source
2. Unpack
3. cd samba-xxx/packaging/RHEL
4. ./makerpms.sh
5. cd /usr/src/redhat/RPMS/x86_64
6. rpm -Uvh samba...

In this way I get to use the latest samba source
without breaking the rpm setup.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba 3.0.26a Available for Download

2007-09-12 Thread Guillermo Gutierrez
What about debian packages? I get dependency errors trying to install
the sernet binaries. Any steps for creating debian packages from source?

Guillermo Gutierrez
Network Administrator
Market Scan Information Systems, Inc.
(818) 575-2017
(818) 324-0871
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mogens Kjaer
Sent: Tuesday, September 11, 2007 11:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba 3.0.26a Available for Download

Ed Kasky wrote:
...
 In your migration back to src, any special considerations?  Or will
you
 just remove the rpm and install from the src?  Any considerations for
 the smb.conf?  I can't think of any off hand myself, but thought I'd
put
 it out on the list just in case...

This is what I do (CentOS 5):

1. Get the samba source
2. Unpack
3. cd samba-xxx/packaging/RHEL
4. ./makerpms.sh
5. cd /usr/src/redhat/RPMS/x86_64
6. rpm -Uvh samba...

In this way I get to use the latest samba source
without breaking the rpm setup.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-12 Thread Dimitri Yioulos
On Tuesday 11 September 2007 8:44 pm, Josh Kelley wrote:
 On 9/11/07, Ed Kasky [EMAIL PROTECTED] wrote:
  Not being as adept at building rpm's as I could be if I had the time
  to learn it, is there any supporting documentation anywhere that
  describes how to go about converting from an rpm install to
  installing from src?
 
  Or is it easier/preferred/better to stick with the rpm's and build
  them from the src?

 I strongly prefer using RPMs on an RPM-based system; I think that
 there are a lot of advantages to letting the package manager know
 about all of the software installed on my systems.  For example, it
 lets you easily switch back and forth between a version that you build
 yourself and one that's provided by the vendor, and it lets you more
 easily install and upgrade software across multiple computers.

 Building RPMs yourself in this case is quite easy:

 Set up your RPM build environment.  Instructions are available online
 from several places;
 http://www.city-fan.org/tips/CreateRPMBuildEnvironment appears to be a
 good set of instructions.

 Next, download the SRPM (.src.rpm file) from the Samba site
 (http://www.samba.org/samba/ftp/Binary_Packages/Fedora/SRPMS/).
 Although the directory is labeled Fedora, it works quite well for RHEL
 and CentOS too.

 Finally, run rpmbuild --rebuild samba.src.rpm.  The resulting RPMs
 will be placed in ~/rpmbuild/RPMS.

 Another poster mentioned sernet's RPMs.  I personally prefer to use
 the ones from Samba's web site for Fedora / RHEL / CentOS, since their
 packaging more closely matches RHEL's, but your mileage may vary.

 Josh Kelley
 --

Just to point out, it looks like the samba team officially blesses the sernet 
RPMs, as from the samba web site:

http://enterprisesamba.com/  offers Samba packages for SLES, RHEL, and 
Debian.

That's good enough for me.  But, to each his/her own.

Dimitri



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


RE: [Samba] Samba 3.0.26a Available for Download

2007-09-12 Thread Guillermo Gutierrez
Ok, I am trying again with the sernet instructions on
enterprisesamba.com, this time aptitude is telling me that there is no
public key for the site.

Can I still install from here? Or do I need to add the key, if so where
do I get it from?

Guillermo Gutierrez
Network Administrator
Market Scan Information Systems, Inc.
(818) 575-2017
(818) 324-0871
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dimitri Yioulos
Sent: Wednesday, September 12, 2007 7:53 AM
To: samba@lists.samba.org
Subject: Re: [Samba] Samba 3.0.26a Available for Download

On Tuesday 11 September 2007 8:44 pm, Josh Kelley wrote:
 On 9/11/07, Ed Kasky [EMAIL PROTECTED] wrote:
  Not being as adept at building rpm's as I could be if I had the time
  to learn it, is there any supporting documentation anywhere that
  describes how to go about converting from an rpm install to
  installing from src?
 
  Or is it easier/preferred/better to stick with the rpm's and build
  them from the src?

 I strongly prefer using RPMs on an RPM-based system; I think that
 there are a lot of advantages to letting the package manager know
 about all of the software installed on my systems.  For example, it
 lets you easily switch back and forth between a version that you build
 yourself and one that's provided by the vendor, and it lets you more
 easily install and upgrade software across multiple computers.

 Building RPMs yourself in this case is quite easy:

 Set up your RPM build environment.  Instructions are available online
 from several places;
 http://www.city-fan.org/tips/CreateRPMBuildEnvironment appears to be a
 good set of instructions.

 Next, download the SRPM (.src.rpm file) from the Samba site
 (http://www.samba.org/samba/ftp/Binary_Packages/Fedora/SRPMS/).
 Although the directory is labeled Fedora, it works quite well for RHEL
 and CentOS too.

 Finally, run rpmbuild --rebuild samba.src.rpm.  The resulting RPMs
 will be placed in ~/rpmbuild/RPMS.

 Another poster mentioned sernet's RPMs.  I personally prefer to use
 the ones from Samba's web site for Fedora / RHEL / CentOS, since their
 packaging more closely matches RHEL's, but your mileage may vary.

 Josh Kelley
 --

Just to point out, it looks like the samba team officially blesses the
sernet 
RPMs, as from the samba web site:

http://enterprisesamba.com/  offers Samba packages for SLES, RHEL, and 
Debian.

That's good enough for me.  But, to each his/her own.

Dimitri



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-12 Thread Dimitri Yioulos
On Wednesday 12 September 2007 5:22 pm, Guillermo Gutierrez wrote:
 Ok, I am trying again with the sernet instructions on
 enterprisesamba.com, this time aptitude is telling me that there is no
 public key for the site.

 Can I still install from here? Or do I need to add the key, if so where
 do I get it from?

 Guillermo Gutierrez
 Network Administrator
 Market Scan Information Systems, Inc.
 (818) 575-2017
 (818) 324-0871
 [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of Dimitri Yioulos
 Sent: Wednesday, September 12, 2007 7:53 AM
 To: samba@lists.samba.org
 Subject: Re: [Samba] Samba 3.0.26a Available for Download

 On Tuesday 11 September 2007 8:44 pm, Josh Kelley wrote:
  On 9/11/07, Ed Kasky [EMAIL PROTECTED] wrote:
   Not being as adept at building rpm's as I could be if I had the time
   to learn it, is there any supporting documentation anywhere that
   describes how to go about converting from an rpm install to
   installing from src?
  
   Or is it easier/preferred/better to stick with the rpm's and build
   them from the src?
 
  I strongly prefer using RPMs on an RPM-based system; I think that
  there are a lot of advantages to letting the package manager know
  about all of the software installed on my systems.  For example, it
  lets you easily switch back and forth between a version that you build
  yourself and one that's provided by the vendor, and it lets you more
  easily install and upgrade software across multiple computers.
 
  Building RPMs yourself in this case is quite easy:
 
  Set up your RPM build environment.  Instructions are available online
  from several places;
  http://www.city-fan.org/tips/CreateRPMBuildEnvironment appears to be a
  good set of instructions.
 
  Next, download the SRPM (.src.rpm file) from the Samba site
  (http://www.samba.org/samba/ftp/Binary_Packages/Fedora/SRPMS/).
  Although the directory is labeled Fedora, it works quite well for RHEL
  and CentOS too.
 
  Finally, run rpmbuild --rebuild samba.src.rpm.  The resulting RPMs
  will be placed in ~/rpmbuild/RPMS.
 
  Another poster mentioned sernet's RPMs.  I personally prefer to use
  the ones from Samba's web site for Fedora / RHEL / CentOS, since their
  packaging more closely matches RHEL's, but your mileage may vary.
 
  Josh Kelley
  --

 Just to point out, it looks like the samba team officially blesses the
 sernet
 RPMs, as from the samba web site:

 http://enterprisesamba.com/  offers Samba packages for SLES, RHEL, and
 Debian.

 That's good enough for me.  But, to each his/her own.

 Dimitri



Why not simply DL the RPMs and install them?

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

==
Smitty
 2/14/1988 - 8/24/2007
So long and thanks for all the fish.
==
Release Announcements
=

This is a bug fix release of the Samba 3.0.26 code base and
is the version that servers should be run for for all current
Samba 3.0 bug fixes.

Major bug fixes included in Samba 3.0.26 are:

  o Memory leaks in Winbind's IDMap manager.



Download Details


The uncompressed tarballs and patch files have been signed
using GnuPG (ID 6568B7EA).  The source code can be downloaded
from:

http://download.samba.org/samba/ftp/

The release notes are available online at:

http://www.samba.org/samba/history/samba-3.0.26a.html

Binary packages will be made available on a volunteer basis at

http://download.samba.org/samba/ftp/Binary_Packages/

Our Code, Our Bugs, Our Responsibility.
(https://bugzilla.samba.org/)

--Enjoy
The Samba Team

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5oj4IR7qMdg1EfYRAtGeAJ4yg1SrwSO9iBOHS4Nw2/HcmmwoMQCgls+q
2lrO8YAuP8b5DAZ4MILDIYo=
=/rK/
-END PGP SIGNATURE-

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Ed Kasky

At 05:24 AM Tuesday, 9/11/2007, Gerald (Jerry) Carter wrote -=


Binary packages will be made available on a volunteer basis at

http://download.samba.org/samba/ftp/Binary_Packages/


Not being as adept at building rpm's as I could be if I had the time 
to learn it, is there any supporting documentation anywhere that 
describes how to go about converting from an rpm install to 
installing from src?


Or is it easier/preferred/better to stick with the rpm's and build 
them from the src?


I know there are opinions on both sides but I wouldn't mind hearing a 
few as I try and decide if I should continue with the rpm on a FC6 
machine or convert to a src install


Ed

. . . . . . . . . . . . . . . . . .
Randomly Generated Quote (861 of 1270):
Nullum magnum ingenium sine mixtura dementiae fuit.
[There is no great genius without some touch of madness.]
-- Seneca

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Guillermo Gutierrez
On Tue, 2007-09-11 at 07:10 -0700, Ed Kasky wrote:
 At 05:24 AM Tuesday, 9/11/2007, Gerald (Jerry) Carter wrote -=
 
 Binary packages will be made available on a volunteer basis at
 
  http://download.samba.org/samba/ftp/Binary_Packages/
 
 Not being as adept at building rpm's as I could be if I had the time 
 to learn it, is there any supporting documentation anywhere that 
 describes how to go about converting from an rpm install to 
 installing from src?
 
 Or is it easier/preferred/better to stick with the rpm's and build 
 them from the src?
 
 I know there are opinions on both sides but I wouldn't mind hearing a 
 few as I try and decide if I should continue with the rpm on a FC6 
 machine or convert to a src install
 
 Ed
 
 . . . . . . . . . . . . . . . . . .
 Randomly Generated Quote (861 of 1270):
 Nullum magnum ingenium sine mixtura dementiae fuit.
  [There is no great genius without some touch of madness.]
  -- Seneca
 
Will the Debian binaries be updated? if not can someone with the
experience please guide me through creating the binaries for ubuntu
7.04?

thanks
-- 
Guillermo Gutierrez [EMAIL PROTECTED]
Market Scan Information Systems Inc.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Ray Anderson



Ed Kasky wrote:

At 05:24 AM Tuesday, 9/11/2007, Gerald (Jerry) Carter wrote -=


Binary packages will be made available on a volunteer basis at

http://download.samba.org/samba/ftp/Binary_Packages/


Not being as adept at building rpm's as I could be if I had the time 
to learn it, is there any supporting documentation anywhere that 
describes how to go about converting from an rpm install to installing 
from src?


Or is it easier/preferred/better to stick with the rpm's and build 
them from the src?


I know there are opinions on both sides but I wouldn't mind hearing a 
few as I try and decide if I should continue with the rpm on a FC6 
machine or convert to a src install
I've had experience from both sides -- I started from src and migrated 
to rpm's, now I'm migrating back to src. Especially with a fast moving 
OS like Fedora, where FC4/5 is no longer supported. It only makes sense 
for me and my customers to have me be able to download the src and 
compile. That way the applications on the systems can be kept up to date 
regardless of the distro.


For what it's worth, I have been eyeballing Ubuntu LTS for the 5 year 
commitment to support, but I'm so used to Fedora that switching distro's 
is hard. :)

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Ed Kasky

At 08:04 AM Tuesday, 9/11/2007, Ray Anderson wrote -=



Ed Kasky wrote:

At 05:24 AM Tuesday, 9/11/2007, Gerald (Jerry) Carter wrote -=


Binary packages will be made available on a volunteer basis at

http://download.samba.org/samba/ftp/Binary_Packages/


Not being as adept at building rpm's as I could be if I had the 
time to learn it, is there any supporting documentation anywhere 
that describes how to go about converting from an rpm install to 
installing from src?


Or is it easier/preferred/better to stick with the rpm's and build 
them from the src?


I know there are opinions on both sides but I wouldn't mind hearing 
a few as I try and decide if I should continue with the rpm on a 
FC6 machine or convert to a src install
I've had experience from both sides -- I started from src and 
migrated to rpm's, now I'm migrating back to src. Especially with a 
fast moving OS like Fedora, where FC4/5 is no longer supported. It 
only makes sense for me and my customers to have me be able to 
download the src and compile. That way the applications on the 
systems can be kept up to date regardless of the distro.


For what it's worth, I have been eyeballing Ubuntu LTS for the 5 
year commitment to support, but I'm so used to Fedora that switching 
distro's is hard. :)


I feel the same way about distros.  I have been with one flavor or 
another of RH since before RHEL and Fedora.


In your migration back to src, any special considerations?  Or will 
you just remove the rpm and install from the src?  Any considerations 
for the smb.conf?  I can't think of any off hand myself, but thought 
I'd put it out on the list just in case...


Ed

. . . . . . . . . . . . . . . . . .
Randomly Generated Quote (460 of 1270):
By doing just a little every day, I can gradually
let the task completely overwhelm me.
   -- Ashleigh Brilliant

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Ray Anderson




In your migration back to src, any special considerations?  Or will 
you just remove the rpm and install from the src?  Any considerations 
for the smb.conf?  I can't think of any off hand myself, but thought 
I'd put it out on the list just in case...
In my particular situation, removing the rpm also removed the 
/var/log/samba dir and all subtrees, so if you want the log history of 
the machines, back that up first, and restore after removing the rpm.  
Otherwise, you must create the /var/log/samba directory.


Also, for the Redhat/Fedora users, you will want to backup the 
/etc/init.d/smbd script and then restore and edit to point to the 
/usr/local/samba/sbin directory.  Other than that, the migration was 
quite painless, and now I'm finally running an up to date samba with an 
up to date samba-vscan vfs plugin.


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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Herb Lewis

If you want your source built version to install to the same dirs
as the rpm you are using, run smbd -b to get all the paths
that you should use in configure.

Ray Anderson wrote:




In your migration back to src, any special considerations?  Or will 
you just remove the rpm and install from the src?  Any considerations 
for the smb.conf?  I can't think of any off hand myself, but thought 
I'd put it out on the list just in case...


In my particular situation, removing the rpm also removed the 
/var/log/samba dir and all subtrees, so if you want the log history of 
the machines, back that up first, and restore after removing the rpm.  
Otherwise, you must create the /var/log/samba directory.


Also, for the Redhat/Fedora users, you will want to backup the 
/etc/init.d/smbd script and then restore and edit to point to the 
/usr/local/samba/sbin directory.  Other than that, the migration was 
quite painless, and now I'm finally running an up to date samba with an 
up to date samba-vscan vfs plugin.



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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Dimitri Yioulos
On Tuesday 11 September 2007 12:08 pm, Ray Anderson wrote:
  In your migration back to src, any special considerations?  Or will
  you just remove the rpm and install from the src?  Any considerations
  for the smb.conf?  I can't think of any off hand myself, but thought
  I'd put it out on the list just in case...

 In my particular situation, removing the rpm also removed the
 /var/log/samba dir and all subtrees, so if you want the log history of
 the machines, back that up first, and restore after removing the rpm.
 Otherwise, you must create the /var/log/samba directory.

 Also, for the Redhat/Fedora users, you will want to backup the
 /etc/init.d/smbd script and then restore and edit to point to the
 /usr/local/samba/sbin directory.  Other than that, the migration was
 quite painless, and now I'm finally running an up to date samba with an
 up to date samba-vscan vfs plugin.

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

sernet (http://ftp.sernet.de/pub/samba) makes binaries available for CentOS, 
debian, RHEL, SLES, etc. available within a few of days of the source 
release.  I use 'em on my CentOS 3 and 4 boxes without issue.

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread David C. Rankin
Ed Kasky wrote:
 At 05:24 AM Tuesday, 9/11/2007, Gerald (Jerry) Carter wrote -=
 
 Binary packages will be made available on a volunteer basis at

 http://download.samba.org/samba/ftp/Binary_Packages/
 
 Not being as adept at building rpm's as I could be if I had the time to
 learn it, is there any supporting documentation anywhere that describes
 how to go about converting from an rpm install to installing from src?
 
 Or is it easier/preferred/better to stick with the rpm's and build them
 from the src?
 
 I know there are opinions on both sides but I wouldn't mind hearing a
 few as I try and decide if I should continue with the rpm on a FC6
 machine or convert to a src install
 
 Ed
 
 . . . . . . . . . . . . . . . . . .
 Randomly Generated Quote (861 of 1270):
 Nullum magnum ingenium sine mixtura dementiae fuit.
 [There is no great genius without some touch of madness.]
 -- Seneca
 

Ed,

Don't throw the baby out with the bathwater!!!  Seriously, I prefer
rpm's, but I have servers still running mandriva 2005le and no one has
built rpms for that distro for well over a year. So instead of worrying
about installing some new OS, I simply started building them from
scratch/source. Simple process, you only need to figure out what the
./configure options need to be once and then updates are a breeze.

THE BASICS

(1) download the latest samba-rev#.tar.gz;
(2) unzip it with tar -xzf samba-rev#.tar.gz
(3) change into the new samba-rev# directory
(4) actually read the README file
(5) cd into the new samba-rev#/source directory
(6) run sh autogen.sh

FIGURING OUT THE CONFIGURE OPTIONS

While looking at the output of ./configure --help may be daunting,
unless you have very special needs, the only config options you need are
very straight forward. They are basically limited to:

Where are your samba binaries/libs are stored and where do the
documentation, config, and password files go?

For your binaries and libraries, most of the time it is just a matter
of determining whether they are stored, under /usr/bin, /usr/sbin, and
/usr/lib or someplace else like /usr/local/samba/bin,
/usr/local/samba/sbin and /usr/local/samba/lib? If you look at the path
before the /bin, /sbin and /lib, that is the prefix to where
things go. So logically, ./configure has the primary option of --prefix=
that needs to be set. To get this right, just check (as root)

# which smbclient
/usr/bin/smbclient


# which smbd
/usr/sbin/smbd

That tells you the right /bin directory is /usr/bin and the right
the right /sbin directory is /usr/sbin. So setting the proper
--prefix= for configure is:

--prefix=/usr

A quick check with ls /usr/lib will confirm that /usr/lib/samba is
there and the proper prefix for the lib directory is also /usr.

The only other parameters that I found vary from the ./configure
defaults are the --infodir=  (where the /info documentation files go);
the --mandir=  (where the man pages go); the --with-configdir= 
(where the smb.conf file goes) and the --with-privatedir=  (where the
smbpasswd file goes).

Just check you system and find out. On Mandriva (RedHat type systems)
the documentation lives under the prefix /usr/share and the smb.conf
and smbpasswd live under the prefix /etc/samba.  THAT'S IT! That's all
the magic required for a basic setup compile from source!
(of course it is up to you to have the needed c compiler and make
utilities installed on your system)(you can throw in the --target=
option for grins.)

So if you have taken note of the ./configure options discussed above,
your ./configure from source should look like this:

# ./configure --prefix=/usr --infodir=/usr/share --mandir=/usr/share
--with-configdir=/etc/samba --with-privatedir=/etc/samba --target=i686

Or, in a more readable for with line continuations:

# ./configure \
--prefix=/usr \
--infodir=/usr/share \
--mandir=/usr/share \
--with-configdir=/etc/samba \
--with-privatedir=/etc/samba \
--target=i686

Just execute the ./configure as shown above and wait 3 minutes while
tons of stuff gets printed to the screen. If it completes without
crashing and telling you about an error condition then execute the make
utility

# make

Same as configure, but wait 5 minutes, if it doesn't bomb with errors,
your are ready to install. (./configure and make can be done as normal a
normal user, but the *make install* requires being *root)

# make install

Now restart smbd and nmbd and go check things out. Is everything still
connected?, output of smbclient -U% -L localhost report the right
samba version? If nothing is working and you are in a huge panic of Oh
$4!T what now!! Don't worry.

#make revert

Restores the previous samba install and you can now go figure out why
things didn't work as planned. Remember, when writing for help, it helps
to include you OS, smb.conf and a level 10 debug capturing detailed
error 

RE: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Guillermo Gutierrez
How would I use apt-get to install these binaries? The reason I ask is
because I receive dependency errors when trying to install the binaries
using 'dpkg -i'

Guillermo Gutierrez
Network Administrator
Market Scan Information Systems, Inc.
(818) 575-2017
(818) 324-0871
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Dimitri Yioulos
Sent: Tuesday, September 11, 2007 1:59 PM
To: samba@lists.samba.org
Subject: Re: [Samba] Samba 3.0.26a Available for Download

On Tuesday 11 September 2007 12:08 pm, Ray Anderson wrote:
  In your migration back to src, any special considerations?  Or will
  you just remove the rpm and install from the src?  Any
considerations
  for the smb.conf?  I can't think of any off hand myself, but thought
  I'd put it out on the list just in case...

 In my particular situation, removing the rpm also removed the
 /var/log/samba dir and all subtrees, so if you want the log history of
 the machines, back that up first, and restore after removing the rpm.
 Otherwise, you must create the /var/log/samba directory.

 Also, for the Redhat/Fedora users, you will want to backup the
 /etc/init.d/smbd script and then restore and edit to point to the
 /usr/local/samba/sbin directory.  Other than that, the migration was
 quite painless, and now I'm finally running an up to date samba with
an
 up to date samba-vscan vfs plugin.

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

sernet (http://ftp.sernet.de/pub/samba) makes binaries available for
CentOS, 
debian, RHEL, SLES, etc. available within a few of days of the source 
release.  I use 'em on my CentOS 3 and 4 boxes without issue.

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Andrew Morgan

On Tue, 11 Sep 2007, David C. Rankin wrote:


Ed Kasky wrote:

At 05:24 AM Tuesday, 9/11/2007, Gerald (Jerry) Carter wrote -=


Binary packages will be made available on a volunteer basis at

http://download.samba.org/samba/ftp/Binary_Packages/


Not being as adept at building rpm's as I could be if I had the time to
learn it, is there any supporting documentation anywhere that describes
how to go about converting from an rpm install to installing from src?

Or is it easier/preferred/better to stick with the rpm's and build them
from the src?

I know there are opinions on both sides but I wouldn't mind hearing a
few as I try and decide if I should continue with the rpm on a FC6
machine or convert to a src install


Ed,

Don't throw the baby out with the bathwater!!!  Seriously, I prefer
rpm's, but I have servers still running mandriva 2005le and no one has
built rpms for that distro for well over a year. So instead of worrying
about installing some new OS, I simply started building them from
scratch/source. Simple process, you only need to figure out what the
./configure options need to be once and then updates are a breeze.

THE BASICS

(1) download the latest samba-rev#.tar.gz;
(2) unzip it with tar -xzf samba-rev#.tar.gz
(3) change into the new samba-rev# directory
(4) actually read the README file
(5) cd into the new samba-rev#/source directory
(6) run sh autogen.sh

FIGURING OUT THE CONFIGURE OPTIONS

While looking at the output of ./configure --help may be daunting,
unless you have very special needs, the only config options you need are
very straight forward. They are basically limited to:

Where are your samba binaries/libs are stored and where do the
documentation, config, and password files go?


I prefer to keep all source installed packages out of the 
Distro-maintained directories (/usr).  Historically, this was 
traditionally done on unix systems by using --prefix=/usr/local.  I prefer 
to put Samba into /private/samba, but that's really up to you.


If you are going to install from source, I recommended using /usr/local as 
the prefix.


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


Re: [Samba] Samba 3.0.26a Available for Download

2007-09-11 Thread Ed Kasky

At 09:08 AM Tuesday, 9/11/2007, Ray Anderson wrote -=
In your migration back to src, any special considerations?  Or will 
you just remove the rpm and install from the src?  Any 
considerations for the smb.conf?  I can't think of any off hand 
myself, but thought I'd put it out on the list just in case...
In my particular situation, removing the rpm also removed the 
/var/log/samba dir and all subtrees, so if you want the log history 
of the machines, back that up first, and restore after removing the rpm.

Otherwise, you must create the /var/log/samba directory.

Also, for the Redhat/Fedora users, you will want to backup the 
/etc/init.d/smbd script and then restore and edit to point to the 
/usr/local/samba/sbin directory.  Other than that, the migration was 
quite painless, and now I'm finally running an up to date samba with 
an up to date samba-vscan vfs plugin.


Thanks for all the input.  I am going to try rebuilding the rpm's 
from the src rpm first.  If that fails for any reason, I will then 
try installing from the tar ball trying to reproduce all the file 
paths, etc.  I will pass on any worthwhile notes if it differs from 
what's already been posted...


Thanks!

Ed

. . . . . . . . . . . . . . . . . .
Randomly Generated Quote (999 of 1270):
The ends justify the means.
-- after Matthew Prior

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