Discussion:
[Samba] how to upgrade to samba 3.6.0
alex wallis
2011-08-11 17:52:02 UTC
Permalink
Hi list.
I am a complete newbie to samba and not particularly experienced with linux,
can someone please tell me how do I upgrade to samba 3.6.0?
I have managed to upgrade from the default samba 3.4 that the ubuntu
repositories provide to samba 3.5, but obviously would like to run the
latest version I am just not sure what repository I need to add etc.
I am running a version of ubuntu lucid 64 bit, and so will be upgrading
with the apt-get program.

I would also really appreciate some help getting my windows 7 64 bit
shares to work with samba, I keep getting permission denied error 13
when I try to mount.
I sent a message out yesterday asking for help, but it has been ignored.
To be honest I have not found my experience with samba easy or enjoyable.
I am sure once its all set up it will work fine, its just a question of
getting it configured I guess, and I suppose it doesn't help ubuntu
provides old versions.
If someone could please help I would appreciate it, as I am about ready
to give up.
Many thanks,
Alex.
John Drescher
2011-08-11 18:43:04 UTC
Permalink
Post by alex wallis
I sent a message out yesterday asking for help, but it has been ignored.
Your message was confusing and you did not provide much details. How
about a part of the samba log when it fails? I can assure you that
windows 7 works with samba 3.3, 3.4 and 3.5.
--
John M. Drescher
Christian PERRIER
2011-08-11 21:01:36 UTC
Permalink
Post by alex wallis
Hi list.
I am a complete newbie to samba and not particularly experienced with linux,
can someone please tell me how do I upgrade to samba 3.6.0?
I have managed to upgrade from the default samba 3.4 that the ubuntu
repositories provide to samba 3.5, but obviously would like to run
the latest version I am just not sure what repository I need to add
^^^^^^^^^^

why?
Post by alex wallis
etc.
I am running a version of ubuntu lucid 64 bit, and so will be
upgrading with the apt-get program.
Well, I have no idea what are plans for Ubuntu (you don't tell what
version you're using....sounds like 8.04) but I don't think there will
be official upgrades to 3.6 in that version of the distro.

So, you're either on your own rolling out your own packages or local
builds....or play russian roulette by using a random repository from
random people who backport packages....:-)

Or you can just continue using the quite rock solid version you have
right now.

My own servers are running 3.5 versions (most often Debian backports
or Debian official packages as they're all Debian "squeeze") and plans
to go to 3.6 are not meant for the immediate future.
Helmut Hullen
2011-08-12 06:50:00 UTC
Permalink
Hallo, Christian,
Post by Christian PERRIER
Post by alex wallis
I am running a version of ubuntu lucid 64 bit, and so will be
upgrading with the apt-get program.
Well, I have no idea what are plans for Ubuntu (you don't tell what
version you're using....sounds like 8.04) but I don't think there
will be official upgrades to 3.6 in that version of the distro.
What about

http://ftp.sernet.de/pub/samba/3.6/src/rpm/samba3-3.6.0-44.src.rpm

and then compiling it to the actual binary?
Post by Christian PERRIER
So, you're either on your own rolling out your own packages or local
builds....or play russian roulette by using a random repository from
random people who backport packages....:-)
"Shock and awe"?
Post by Christian PERRIER
Or you can just continue using the quite rock solid version you have
right now.
"rock solid" is often used for "antique", for "petrified".

I'm using another distribution which now offers samba 3.5.10 - it works
fine.

Viele Gruesse!
Helmut
Michael Wood
2011-08-12 08:00:18 UTC
Permalink
Post by Helmut Hullen
Hallo, Christian,
Post by Christian PERRIER
Post by alex wallis
I am running a version of ubuntu lucid 64 bit, and so will be
upgrading with the apt-get program.
Well, I have no idea what are plans for Ubuntu (you don't tell what
version you're using....sounds like 8.04) but I don't think there
will be official upgrades to 3.6 in that version of the distro.
What about
? http://ftp.sernet.de/pub/samba/3.6/src/rpm/samba3-3.6.0-44.src.rpm
and then compiling it to the actual binary?
Doing that on Ubuntu is probably not the best option, given that
Ubuntu is not an RPM-based distribution. It would probably be better
to backport the Debian/Ubuntu deb rather, but given the OP's
experience level, I would not recommend that.
Post by Helmut Hullen
Post by Christian PERRIER
So, you're either on your own rolling out your own packages or local
builds....or play russian roulette by using a random repository from
random people who backport packages....:-)
"Shock and awe"?
Post by Christian PERRIER
Or you can just continue using the quite rock solid version you have
right now.
"rock solid" is often used for "antique", for "petrified".
Yes, and 3.3 is now deprecated, but the OP says he's already upgraded
to 3.5, so there should be no problem there.
Post by Helmut Hullen
I'm using another distribution which now offers samba 3.5.10 - it works
fine.
--
Michael Wood <esiotrot at gmail.com>
Michael Wood
2011-08-12 16:21:39 UTC
Permalink
Hi

Please copy the samba mailing list on your replies.
Post by Helmut Hullen
Hallo, Christian,
Post by Christian PERRIER
Post by alex wallis
I am running a version of ubuntu lucid 64 bit, and so will be
upgrading with the apt-get program.
Well, I have no idea what are plans for Ubuntu (you don't tell what
version you're using....sounds like 8.04) but I don't think there
will be official upgrades to 3.6 in that version of the distro.
Hi,
I am using Ubuntu 11.04, I made a mistake, I used to run a lucid based
system, but this current distro I am using isn't based off that, but
previous versions were.
Does the version of ubuntu I am running make a difference to samba then?
Yes. Each distribution creates packages of the software that they
ship so that you don't have to go searching around the Internet for
it. Also they test that the version they ship works with the other
software they package etc. So in general you should stick with the
pre-packaged versions of Samba (and other software) that comes with
your distribution, unless you know what you are doing.
the repository I got the 3.5 upgrade from said that it was intended for
ubuntu 9.04, and when I installed it I was asked quite a few questions I
This does not make sense to me. Ubuntu 11.04 comes with Samba 3.5 and
it definitely would not have said it was for Ubuntu 9.04. That sounds
like you went searching around the Internet for a Samba package where
there was one already available in the official Ubuntu repositories.
You really should avoid installing stuff from random repositories
unless you know what you're doing.
wasn't sure of the answers to. Perhaps the best option would be for me to
make a totally clean virtual machine and then install samba again from
scratch, I haven't installed much yet to this machine, so it wouldn't be
difficult.
That sounds like a good plan. Then just install Samba from synaptic
(or maybe it's available via the Software Centre or whatever they call
it). Otherwise just try "apt-get install samba" from the command
line. That should give you version 3.5 as you can see here:

http://packages.ubuntu.com/natty/samba
regarding the suggestion of compiling samba 3.06 from source, I am familiar
with compiling linux software, as I have done it before, but if it starts
asking me really complicated questions then I wouldn't know what to answer.
Compiling from source is great if you need to do it, but in this case,
and in most cases, you don't need to, because the pre-compiled
software is already available in Ubuntu. If you were running an old
version of Ubuntu, Samba 3.5 would not be available in the official
repositories, but 3.4 should work just as well for what you seem to
need. It is not necessary to run the latest version of Samba. As
long as you don't try running really old versions :)

I hope that helps.
--
Michael Wood <esiotrot at gmail.com>
alex wallis
2011-08-12 16:54:25 UTC
Permalink
Hi.
sorry, I didn't realise my replies only went to individual users, I
thought the replies went to the list, as that is how most lists are
configured these days.

So, to answer questions, I am running ubuntu 11.04, 64 bit.
I thought I was running lucid, but the latest version of the distro I
use isn't based off that.

I have some experience with compiling software from source for linux,
would this be possible for my version of ubuntu?
does the version I am using really make a difference to samba?
if its quite technical I am not sure if I would be confident about doing
it, as I am only just starting out with linux and samba, and have only
compiled a few things from svn which didn't need that much configuration.

When I did the upgrade to samba 3.5, the repository said it was for
ubuntu 9.04, and it did ask me a few questions I wasn't sure how to answer.
Would it be easier for me to totally remove samba and start again?
Post by Michael Wood
Hi
Please copy the samba mailing list on your replies.
Post by Helmut Hullen
Hallo, Christian,
Post by Christian PERRIER
Post by alex wallis
I am running a version of ubuntu lucid 64 bit, and so will be
upgrading with the apt-get program.
Well, I have no idea what are plans for Ubuntu (you don't tell what
version you're using....sounds like 8.04) but I don't think there
will be official upgrades to 3.6 in that version of the distro.
Hi,
I am using Ubuntu 11.04, I made a mistake, I used to run a lucid based
system, but this current distro I am using isn't based off that, but
previous versions were.
Does the version of ubuntu I am running make a difference to samba then?
Yes. Each distribution creates packages of the software that they
ship so that you don't have to go searching around the Internet for
it. Also they test that the version they ship works with the other
software they package etc. So in general you should stick with the
pre-packaged versions of Samba (and other software) that comes with
your distribution, unless you know what you are doing.
the repository I got the 3.5 upgrade from said that it was intended for
ubuntu 9.04, and when I installed it I was asked quite a few questions I
This does not make sense to me. Ubuntu 11.04 comes with Samba 3.5 and
it definitely would not have said it was for Ubuntu 9.04. That sounds
like you went searching around the Internet for a Samba package where
there was one already available in the official Ubuntu repositories.
You really should avoid installing stuff from random repositories
unless you know what you're doing.
wasn't sure of the answers to. Perhaps the best option would be for me to
make a totally clean virtual machine and then install samba again from
scratch, I haven't installed much yet to this machine, so it wouldn't be
difficult.
That sounds like a good plan. Then just install Samba from synaptic
(or maybe it's available via the Software Centre or whatever they call
it). Otherwise just try "apt-get install samba" from the command
http://packages.ubuntu.com/natty/samba
regarding the suggestion of compiling samba 3.06 from source, I am familiar
with compiling linux software, as I have done it before, but if it starts
asking me really complicated questions then I wouldn't know what to answer.
Compiling from source is great if you need to do it, but in this case,
and in most cases, you don't need to, because the pre-compiled
software is already available in Ubuntu. If you were running an old
version of Ubuntu, Samba 3.5 would not be available in the official
repositories, but 3.4 should work just as well for what you seem to
need. It is not necessary to run the latest version of Samba. As
long as you don't try running really old versions :)
I hope that helps.
Michael Wood
2011-08-12 18:07:31 UTC
Permalink
Hi
Hi.
sorry, I didn't realise my replies only went to individual users, I thought
the replies went to the list, as that is how most lists are configured these
days.
No problem.
So, to answer questions, I am running ubuntu 11.04, 64 bit.
I thought I was running lucid, but the latest version of the distro I use
isn't based off that.
I have some experience with compiling software from source for linux, would
this be possible for my version of ubuntu?
does the version I am using really make a difference to samba?
if its quite technical I am not sure if I would be confident about doing it,
as I am only just starting out with linux and samba, and have only compiled
a few things from svn which didn't need that much configuration.
When I did the upgrade to samba 3.5, the repository said it was for ubuntu
9.04, and it did ask me a few questions I wasn't sure how to answer.
Would it be easier for me to totally remove samba and start again?
If you read the rest of my last message, I think I have already
answered your question :)
Post by Michael Wood
Hi
Please copy the samba mailing list on your replies.
Post by Helmut Hullen
Hallo, Christian,
Post by Christian PERRIER
Post by alex wallis
I am running a version of ubuntu lucid 64 bit, and so will be
upgrading with the apt-get program.
Well, I have no idea what are plans for Ubuntu (you don't tell what
version you're using....sounds like 8.04) but I don't think there
will be official upgrades to 3.6 in that version of the distro.
Hi,
I am using Ubuntu 11.04, I made a mistake, I used to run a lucid based
system, but this current distro I am using isn't based off that, but
previous versions were.
Does the version of ubuntu I am running make a difference to samba then?
Yes. ?Each distribution creates packages of the software that they
ship so that you don't have to go searching around the Internet for
it. ?Also they test that the version they ship works with the other
software they package etc. ?So in general you should stick with the
pre-packaged versions of Samba (and other software) that comes with
your distribution, unless you know what you are doing.
the repository I got the 3.5 upgrade from said that it was intended for
ubuntu 9.04, and when I installed it I was asked quite a few questions I
This does not make sense to me. ?Ubuntu 11.04 comes with Samba 3.5 and
it definitely would not have said it was for Ubuntu 9.04. ?That sounds
like you went searching around the Internet for a Samba package where
there was one already available in the official Ubuntu repositories.
You really should avoid installing stuff from random repositories
unless you know what you're doing.
wasn't sure of the answers to. Perhaps the best option would be for me to
make a totally clean virtual machine and then install samba again from
scratch, I haven't installed much yet to this machine, so it wouldn't be
difficult.
That sounds like a good plan. ?Then just install Samba from synaptic
(or maybe it's available via the Software Centre or whatever they call
it). ?Otherwise just try "apt-get install samba" from the command
http://packages.ubuntu.com/natty/samba
regarding the suggestion of compiling samba 3.06 from source, I am familiar
with compiling linux software, as I have done it before, but if it starts
asking me really complicated questions then I wouldn't know what to answer.
Compiling from source is great if you need to do it, but in this case,
and in most cases, you don't need to, because the pre-compiled
software is already available in Ubuntu. ?If you were running an old
version of Ubuntu, Samba 3.5 would not be available in the official
repositories, but 3.4 should work just as well for what you seem to
need. ?It is not necessary to run the latest version of Samba. ?As
long as you don't try running really old versions :)
I hope that helps.
--
Michael Wood <esiotrot at gmail.com>
alex wallis
2011-08-13 18:08:33 UTC
Permalink
HI Michael, sorry yes the rest of your message did answer my questions,
I guess I didn't read carefully enough, I am not on many lists where the
convention is to do in line replying, I prefer top posting, but I guess
that's me being lazy lol.

Anyway, to clear up the confusion.
What happened was this, originally when I wrote to the list a few days
ago I was running a distro based off ubuntu 10.04,
obviously the version of samba it was pointing me two was 3.4, I
actually didn't know individual distro versions pointed at different
packages, I just assumed they all used the same package versions.
so when I was using the distro based off ubuntu 10.4, that's when I went
hunting around for a repository that would install samba 3.5.

Anyway, after writing to the list I then discovered that there was a new
version of my particular distro out, based off ubuntu 11.04, which I
downloaded and installed.
so now I am running samba 3.5 from the correct repository.

I am no longer getting a permission denied message when I try and mount
my share,
it gives me some error message about the wrong fs type, but I don't
think samba is even trying to connect to the share, as it returns this
error instantly.
I have tried switching off my firewall but this hasn't helped.

I have shared the folders I want to share on my windows 7 host machine,
and I have also added an entry for it to my /etc/hosts file.
192.168.1.254 alex

I know that I am probably not providing any useful information to solve
this problem, if someone could tell me how to pull up any logs that
might give us a clue about why my share isn't working I will be happy to
provide copies to the list.

Loading...