Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] Issues with cifs mounts following Samba upgrade to..

 
   Linux (Home) -> Samba RSS
Next:  [Samba] Printer settings don't stick  
Author Message
Damian Sinclair

External


Since: Jul 31, 2006
Posts: 4



(Msg. 1) Posted: Mon Jul 31, 2006 5:10 pm
Post subject: [Samba] Issues with cifs mounts following Samba upgrade to 3.0.23a
Archived from groups: linux>samba (more info?)

My LAN includes a server machine running FC4, with several shares mounted with
Samba. Yesterday, I upgraded the packages on the FC4 machine, and these
included Samba, which is now at 3.0.23a. Unfortunately, this seems to have
broken the mounted shares for my Ubuntu 6.06 installation on my Acer 1682WLMI
laptop. The cifs module on Ubuntu reports as version 1.39.

The symptoms are that I can list the files on the cifs mount, but cannot
access them. Here's an example of the problem from my laptop:

$ sudo mount -t cifs //192.168.123.2/hde1 /mnt/hde1 -o /
username=[myuser],domain=[mydomain],uid=[myuser],gid=[mygroup]
Password:
$ file /mnt/hde1/test.mp3 /mnt/hde1/test.mp3: ERROR: cannot read
`/mnt/hde1/test.mp3' (Permission denied)
$ ls -l /mnt/hde1/test.mp3
-rwxrwSrwt 1 [myuser] [mygroup] 5019629 2006-07-31 11:12 /mnt/hde1/test.mp3

If I simply change to smbfs:

$ sudo mount -t smbfs //192.168.123.2/hde1 /mnt/hde1 -o
username=[myuser],domain=[mydomain],uid=[myuser],gid=[mygroup]
Password:
$ file /mnt/hde1/test.mp3 /mnt/hde1/test.mp3: MP3 file with ID3 version 2.4.0
tag
$ ls -l /mnt/hde1/test.mp3 -rwxr-xr-x 1 [myuser] [mygroup] 5019629 2006-07-31
11:12 /mnt/hde1/test.mp3

So why not use smbfs? Well, because many of the files I have on the shares have
foreign characters in them, and smbfs mounts using the settings for unicode as I
understand them (iocharset=utf8,codepage=unicode,unicode) don't work at all (no
listing even). This is a different issue, however. For now I'm interested in
working out why the cifs mount is broken seeing as cifs is meant to supercede
smbfs.

Any help appreciated,

Damian Sinclair

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Jeremy Allison

External


Since: Jun 04, 2005
Posts: 179



(Msg. 2) Posted: Mon Jul 31, 2006 6:10 pm
Post subject: Re: [Samba] Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Jul 31, 2006 at 01:24:34PM +0000, Damian Sinclair wrote:
> My LAN includes a server machine running FC4, with several shares mounted with
> Samba. Yesterday, I upgraded the packages on the FC4 machine, and these
> included Samba, which is now at 3.0.23a. Unfortunately, this seems to have
> broken the mounted shares for my Ubuntu 6.06 installation on my Acer 1682WLMI
> laptop. The cifs module on Ubuntu reports as version 1.39.
>
> The symptoms are that I can list the files on the cifs mount, but cannot
> access them. Here's an example of the problem from my laptop:
>
> $ sudo mount -t cifs //192.168.123.2/hde1 /mnt/hde1 -o /
> username=[myuser],domain=[mydomain],uid=[myuser],gid=[mygroup]
> Password:
> $ file /mnt/hde1/test.mp3 /mnt/hde1/test.mp3: ERROR: cannot read
> `/mnt/hde1/test.mp3' (Permission denied)
> $ ls -l /mnt/hde1/test.mp3
> -rwxrwSrwt 1 [myuser] [mygroup] 5019629 2006-07-31 11:12 /mnt/hde1/test.mp3
>
> If I simply change to smbfs:
>
> $ sudo mount -t smbfs //192.168.123.2/hde1 /mnt/hde1 -o
> username=[myuser],domain=[mydomain],uid=[myuser],gid=[mygroup]
> Password:
> $ file /mnt/hde1/test.mp3 /mnt/hde1/test.mp3: MP3 file with ID3 version 2.4.0
> tag
> $ ls -l /mnt/hde1/test.mp3 -rwxr-xr-x 1 [myuser] [mygroup] 5019629 2006-07-31
> 11:12 /mnt/hde1/test.mp3
>
> So why not use smbfs? Well, because many of the files I have on the shares have
> foreign characters in them, and smbfs mounts using the settings for unicode as I
> understand them (iocharset=utf8,codepage=unicode,unicode) don't work at all (no
> listing even). This is a different issue, however. For now I'm interested in
> working out why the cifs mount is broken seeing as cifs is meant to supercede
> smbfs.

This is a server bug. I've fixed it in the svn code and it will be fixed
in 3.0.23b. Sorry for the problem.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Jeremy Allison

External


Since: Jun 04, 2005
Posts: 179



(Msg. 3) Posted: Mon Jul 31, 2006 6:30 pm
Post subject: Re: [Samba] Re: Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Jul 31, 2006 at 04:21:15PM +0000, Damian Sinclair wrote:
>
> That's great. At least I know where the problem is now. Can you tell me how
> long the fix is likely to take to filter down to me as an FC4 update, or am I
> better off rolling my sleeves up and building it from svn source (I'm assuming
> that your changes are in some publically available repository)?

It's in the SAMBA_3_0_23 repository which is what will end up being 3.0.23b.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Damian Sinclair

External


Since: Jul 31, 2006
Posts: 4



(Msg. 4) Posted: Mon Jul 31, 2006 6:30 pm
Post subject: [Samba] Re: Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jeremy Allison <jra <at> samba.org> writes:

>
> This is a server bug. I've fixed it in the svn code and it will be fixed
> in 3.0.23b. Sorry for the problem.
>

That's great. At least I know where the problem is now. Can you tell me how
long the fix is likely to take to filter down to me as an FC4 update, or am I
better off rolling my sleeves up and building it from svn source (I'm assuming
that your changes are in some publically available repository)?

Thanks,

Damian Sinclair



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Damian Sinclair

External


Since: Jul 31, 2006
Posts: 4



(Msg. 5) Posted: Mon Jul 31, 2006 9:10 pm
Post subject: [Samba] Re: Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jeremy Allison <jra <at> samba.org> writes:

> It's in the SAMBA_3_0_23 repository which is what will end up being 3.0.23b.
>
> Jeremy.

Just to let you know, I've built from the svn branch and it has fixed the
problems I was having.

Thanks very much for your help,

Damian Sinclair




--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Jeremy Allison

External


Since: Jun 04, 2005
Posts: 179



(Msg. 6) Posted: Tue Aug 01, 2006 2:00 am
Post subject: Re: [Samba] Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Jul 31, 2006 at 06:20:14PM -0500, Jason D. Clinton wrote:
> On Mon, 2006-07-31 at 09:08 -0700, Jeremy Allison wrote:
> > This is a server bug. I've fixed it in the svn code and it will be fixed
> > in 3.0.23b. Sorry for the problem.
>
> Is there some kind of mount option which will work around this in the
> mean time?

Nope, sorry.

> Have you considered putting a big warning message up on your downloads
> page:
>
> !!! INSTALLING THIS WILL MAKE YOUR SERVER NOT WORK !!!

"Only for cifsfs clients"

Well, we do hope people will test code before it goes production.
This was something that no one tested. And I mean *no one* tested.
The code for Windows clients is obviously tested a lot, but the
Linux client code doesn't get tested by people as much. Steve
tests things, but he's only one person. I'm hoping this will change,
but until it does then sometimes accidents will happen.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Mitch Jackson

External


Since: Jul 07, 2006
Posts: 2



(Msg. 7) Posted: Tue Aug 01, 2006 9:00 pm
Post subject: Re: [Samba] Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>
> > Have you considered putting a big warning message up on your downloads
> > page:
> >
> > !!! INSTALLING THIS WILL MAKE YOUR SERVER NOT WORK !!!
>
> "Only for cifsfs clients"


Considering somebody at fedora made the decision to remove smbfs support
from FC4 stock kernels a few weeks ago, and FC5 is the same way, and
everybody keeps acting like CIFS is a drop-in replacement for SMBFS when it
clearly is NOT (totally different behavior with identical configuration
parameters), this is a big freaking problem.

For properly patched FC4 networks, CIFS is the only easily deployable
option.

When the removal of the smbfs kernel module came down the pipe, it broke our
shares. The user mounted shared would be mounted with seemingly random
incorrect UID/GID making it non accessible to the user that mounted it.
That was loads of fun.

Today, I just started getting these 'access denied' messages on shares, and
apparantly I have to compile a SVN version instead of using packages to get
it fixed(?). Now I get to go explain to the boss why over 100 workstations
in our FC4 managed network can't access their shares, and probably get
another "Windows is better than linux / I told you so" speech.

/mitch

Well, we do hope people will test code before it goes production.
> This was something that no one tested. And I mean *no one* tested.
> The code for Windows clients is obviously tested a lot, but the
> Linux client code doesn't get tested by people as much. Steve
> tests things, but he's only one person. I'm hoping this will change,
> but until it does then sometimes accidents will happen.
>
> Jeremy.
> --
> 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
Back to top
Login to vote
Jeremy Allison

External


Since: Jun 04, 2005
Posts: 179



(Msg. 8) Posted: Tue Aug 01, 2006 9:10 pm
Post subject: Re: [Samba] Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Aug 01, 2006 at 01:54:36PM -0500, Mitch Jackson wrote:
>
> Considering somebody at fedora made the decision to remove smbfs support
> from FC4 stock kernels a few weeks ago, and FC5 is the same way, and
> everybody keeps acting like CIFS is a drop-in replacement for SMBFS when it
> clearly is NOT (totally different behavior with identical configuration
> parameters), this is a big freaking problem.

Well it can't have been that big of a problem, as no one tested it Smile.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Damian Sinclair

External


Since: Jul 31, 2006
Posts: 4



(Msg. 9) Posted: Tue Aug 01, 2006 10:20 pm
Post subject: [Samba] Re: Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jeremy Allison <jra <at> samba.org> writes:
>
> Well it can't have been that big of a problem, as no one tested it .
>
> Jeremy.

I guess there's a bit of concern that this problem will cause a fair number of
systems to stop working in a way that isn't entirely easy to diagnose or
resolve, so causing a lot of frustration. I have no idea how the community
handles issues like these, but have the samba team notified the relevant
repository and distro managers about the bug?

Anyway, if anyone wants to apply the source branch fix as I have, I made some
notes about building it for my FC4 machine on my blog at
http://manwiththebones.dyndns.org/wordpress/?p=117. I offer no warranty, but it
might save someone some time.

Damian Sinclair


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Jeremy Allison

External


Since: Jun 04, 2005
Posts: 179



(Msg. 10) Posted: Tue Aug 01, 2006 10:50 pm
Post subject: Re: [Samba] Re: Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Aug 01, 2006 at 08:18:42PM +0000, Damian Sinclair wrote:
>
> I guess there's a bit of concern that this problem will cause a fair number of
> systems to stop working in a way that isn't entirely easy to diagnose or
> resolve, so causing a lot of frustration. I have no idea how the community
> handles issues like these, but have the samba team notified the relevant
> repository and distro managers about the bug?

I'm sorry about the problem but fixed it as soon as I knew about it,
and we'll be releasing a 3.0.23b asap to fix this issue. Package
maintainers for Samba on distros should be on samba-technical, so
we haven't done any asynchronous notification - we only do that
for security bugs via vendor-sec.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Andreas Hasenack

External


Since: Nov 24, 2005
Posts: 10



(Msg. 11) Posted: Wed Aug 02, 2006 1:30 am
Post subject: Re: [Samba] Re: Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tuesday 01 August 2006 17:47, Jeremy Allison wrote:
> On Tue, Aug 01, 2006 at 08:18:42PM +0000, Damian Sinclair wrote:
> > I guess there's a bit of concern that this problem will cause a fair
> > number of systems to stop working in a way that isn't entirely easy to
> > diagnose or resolve, so causing a lot of frustration. I have no idea how
> > the community handles issues like these, but have the samba team notified
> > the relevant repository and distro managers about the bug?
>
> I'm sorry about the problem but fixed it as soon as I knew about it,
> and we'll be releasing a 3.0.23b asap to fix this issue. Package
> maintainers for Samba on distros should be on samba-technical, so
> we haven't done any asynchronous notification - we only do that
> for security bugs via vendor-sec.

Why not publish a patch for 3.0.23a? Many people find it easier to apply a
patch than to browse svn and fetch patches from it (once they know which
revision as the correct fix).
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Jeremy Allison

External


Since: Jun 04, 2005
Posts: 179



(Msg. 12) Posted: Wed Aug 02, 2006 2:00 am
Post subject: Re: [Samba] Re: Issues with cifs mounts following Samba upgrade to 3.0.23a [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Aug 01, 2006 at 08:28:57PM -0300, Andreas Hasenack wrote:
>
> Why not publish a patch for 3.0.23a? Many people find it easier to apply a
> patch than to browse svn and fetch patches from it (once they know which
> revision as the correct fix).

I'll try and track down the correct svn rev and post it.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] RE: issues with cifs mount - Well, exactly the same issue here. Only difference is I'm using Ubuntu 6.06 and Samba 3.0.14a (standard debian sarge package). So if anyone has an idea as to what's going on I'd appreciate. As soon as I've some time to spare I'll dig into it a little..

[Samba] cifs reading Samba mounted share...permissions error - I have a Samba 3.0.23a-1.fc5.1 configured on a Fedora 5 server. It's joined to an Active Directory 2003 domain controller using Winbind, etc. I'm able to connect from various workstations using active directory user accounts/credentials just fine to..

[Samba] cifs mouting samba...permissions error - I have a Samba 3.0.23a-1.fc5.1 configured on a Fedora 5 server. It's joined to an Active Directory 2003 domain controller using Winbind, etc. I'm able to connect from various workstations using active directory user accounts/credentials just fine to..

[Samba] Samba 3.0.x to HP CIFS Server move - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am currently running Samba 3.0.11 compiled for HP-UX 11i (PA2.0). I am looking at upgrading to the most current version of Samba, but I see that HP has finally caught up with the rest of the planet and is....

[Samba] CIFS, Samba 3.0.23d and file locking - Mrs.; I have a 16-bits Cobol program running at Novell 5.1. I'm migrating the whole network (around 150 terminais) to Linux + LTS processing DOSEMU into cluster and making a storage server just for data. My surprise last week was that the smbfs client...
       Linux (Home) -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact