[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-08-05 Thread Steve French
Simplifying:
1) older smbfs/smbmount had a bug:  they didn't support DFS (which Windows 
clients do, and Linux cifs client does) which is a critical feature of the 
protocol in multiple server environments
2) Windows does not support Unix Extensions

Samba server introduced a bug (long since fixed) which affects clients
which support BOTH

Asking the kernel cifs client to always disable DFS support (ie without
a mount option) to work around a bug in one server version would make
things even worse because that would hurt accessing all of the servers
that have working DFS support.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-08-04 Thread Andrew McRae
As usual in the Linux world we see a lot of dodging and ducking and
passing the buck and pretending that something other than Ubuntu is the
problem. The bug ticket has been marked as Invalid, and yet the
problem is clearly still here and has not been fixed.

If you try to use smbmount (ie- mount.cifs) in Jaunty it still fails
when trying to save files.

Notice the solutions offered by the people who said it was fixed. They
had to change their configuration or upgrade their SAMBA server to get
it to work! That's a kludge to their system to work around a bug in
Ubuntu. No-one should have to change any parameters to smbmount or fstab
or upgrade the SAMBA server to get their SMB shares mounted properly
when the same commands worked fine in Hardy.

My (former) Hardy and (present) Jaunty configuration uses this Sessions startup 
command:
  smbmount '\\192.168.1.2\public' /home/andrew/naspublic -o guest

This worked fine in Hardy Heron, but now in Jaunty neither GEdit nor OpenOffice 
nor Audacious can save changes to files opened from the mountpoint. 
The firmware on my QNAP NAS has not changed, and the command I use to mount the 
share has not changed since Hardy, but after the upgrade to Jaunty none of my 
apps can save back to the share. The idea that an upstream kernel patch in 
2.6.27-11.25 has fixed this is absurd : I'm booting 2.6.28-14 and my machine 
still has the problem. 

So it's not the kernel, and it's not the user application, and it's not
the user-supplied commands, it's a bug in one of the Ubuntu distribution
packages. Clearly a bug has been written between Hardy and Intrepid and
is still here in Jaunty.

Downgrading the kernel is not an option since then GDM no longer starts
up and without graphics OOo can't run.

There's three short-term workarounds, none of which are nice:
A) Uninstall Jaunty and go back to Hardy, or
B) Switch to using Windows XP, or
C) Copy to local drive, edit, copy back.

Option B actually is the easiest since I dual boot Windows anyway and
could install Microsoft Windows version of OOo if i had to. At least in
Windows when you mount the share as a drive letter it just plain works.

Would prefer it if Ubuntu programmers could just fix the bug.
Get those smbfs guys inspecting the code they changed between Hardy and 
Intrepid and they will find the defect. It has to be there, that's only logical.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-08-04 Thread Vide
Andrew: I'm no Ubuntu dev but I've been suffering this bug when first appeared 
and the bug is clearly and without any doubt on the Samba server side. With 
Samba server I don't mean upstream Samba code but the Samba server present for 
example in Debian Etch (and other OS/devices too, like your NAS). 
The bug is not in the client side, so no Ubuntu fault here. Why Hardy was 
working and Intrepid/Jaunty aren't without the nodfs option? Simply because THE 
KERNEL HAS BEEN UPDATED. Ubuntu even backported new changes (the nodfs option) 
which could be used as workaround for people experiencing the bug in older 
versions

So, before ranting, go read all the previous comments.
Long story short: in your smbmount command pass the nodfs option by mean of the 
-o switch

smbmount '\\192.168.1.2\public' /home/andrew/naspublic -o guest,nodfs

should work with Ubuntu = Intrepid

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-07-18 Thread komputes
I can confirm having the same problem with an Apple Time Capsule. I do
not know how to get it to display files or prompt for authentication. I
only get a blank window with 0 items.

ii  samba2:3.3.2-1ubuntu3
SMB/CIFS file, print, and login server for Unix

Distributor ID: Ubuntu
Description:Ubuntu 9.04
Release:9.04
Codename:   jaunty

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-03-06 Thread Scott Carpenter
I'm running Samba on a Linksys/Cisco NSLU2 (the slug!) and started
having this problem after upgrading my client from 8.04 to 8.10.  Just
wanted to report that the nodfs mount option took care of the problem
for me.  Thanks everyone for all the work figuring this out!

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-01-22 Thread simonm
I think it's related to the Samba version in use on Time Capsule:

# cat /proc/fs/cifs/DebugData
Display Internal CIFS Data Structures for Debugging
---
CIFS Version 1.54
Active VFS Requests: 0
Servers:
1) Name: 192.168.0.2  Domain: SM-HOME Uses: 1 OS: Apple Base Station
NOS: CIFS 4.30Capability: 0x1c
SMB session status: 1TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
Shares:
1) \\192.168.0.2\storage Mounts: 1 Type: FAT32 DevInfo: 0x0 Attributes:
0x3
PathComponentMax: 255 Status: 0x1 type: 0

MIDs:

# cat /proc/fs/cifs/LinuxExtensionsEnabled
1

Also, I have hundreds of log entries like this in /var/log/kern.log

Jan 18 17:17:02 freya kernel: [ 4069.510271]  CIFS VFS: Write2 ret -9, wrote
0

The CIFS mount from Time Capsule is the only CIFS mount I am using.

I'll get some CIFS packet captures of a Hardy install and an Intrepid
install and create a new ticket. (Although I think this is the same issue as
a number of the people who commented above have had.)

I hope this helps.

Thanks

SM

-- 
Simon Mullis


** Attachment added: cifs-mount.pcap.gz
   http://launchpadlibrarian.net/21527809/cifs-mount.pcap.gz

** Attachment added: cifs-stdout_redirection.pcap.gz
   http://launchpadlibrarian.net/21527810/cifs-stdout_redirection.pcap.gz

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-01-21 Thread mbentley
i found that when i used the msdfs root = no option on my samba 3.0.24
server running debian etch, it caused my windows clients that have
shares mapped to network drives to stop working and i couldn't access
them by \\server\share.  in order to get it working on my windows xp
computers, i had to restart them and remount the network drives for it
to work but it indeed does work.  i know that this really isn't the
intended purpose of this bug report, but at first i thought that
including msdfs root = no broke my shares on my windows boxes.

thank you for this workaround as i do not plan on upgrading from the
standard debian etch on my server anytime in the near future.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-01-19 Thread Thierry Carrez
Marking verification-done following Vide/mipper/Tom reporting success.

** Tags added: verification-done

** Tags removed: verification-needed

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2009-01-10 Thread simonm
Symptom: When mounting remote CIFS shares from my Apple Time Capsule
(either by /etc/fstab or mount command) I would only see around 150 of
the 5000 directories in my Media folder.

Also, redirection from stdout to a file would work when the file was
created, but appending would not work.

so:
% pwd
/remote/mount/
%  echo 1 2 3  test_file
% cat  test_file
1 2 3
% echo 4 5 6  test_file
% cat  test_file
1 2 3
cat: test_file: Input/output error

I updated to 2.6.27-11-generic (via Intrepid-proposed) and added the
nodfs option to my /etc/fstab entry.

Now, I see all directories as expected.

However, stdout redirection to a file still seems to be misbehaving...
% uname -a
Linux freya 2.6.27-11-generic #1 SMP Thu Jan 8 08:38:33 UTC 2009 i686 GNU/Linux
% pwd
/remote/mount/
% echo 1 2 3  test_file
% cat test_file
1 2 3
% echo 4 5 6  test_file
% cat test_file 
1 2 3
cat: test_file: Input/output error

Additional info:
% mount | egrep -e '(cifs|smb)'
//192.168.0.2/storage on /media/storage type cifs (rw,mand)

% grep cifs /etc/fstab 
//192.168.0.2/storage  /media/storage cifs
credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0664,dir_mode=0775,uid=simonm,gid=audio,nodfs
 0 0

So, still having some issues with appending to files. Creating /
deleting seems fine.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Vide
I was affected by this problem as well and I can confirm that using
2.6.27-11 and the nodfs mount option the problem is solved. I tested
this on x86 and x86_64.

I can add that with the -9 kernel the
/proc/fs/cifs/LinuxExtensionsEnabled workarond wasn't working anymore
(with previous revisions it worked smoothly, but it was a workaround)

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread mipper
I can confirm the fix too.  Doesn't work without nodfs, does with.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Tom
After adding nodfs to my kernel at boot time did NOT change anything. 
My MS Windows shares that use to mount automatically under 8.04 still do 
not mount automatically after adding that option. Yet, after boot, I can 
issue sudo mount /shares/windows_f and the share is mounted without 
incident or error messages.

I performed an upgrade from 8.04, not a new, clean install.

Relevant line from syslog:
Dec 23 06:27:43 tom-nb kernel: [0.00] Kernel command line: 
root=UUID=9810c849-9967-45c4-9a82-415e2ddcb81c ro quiet splash nodfs


Output from uname -a:
Linux tom-nb 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 
GNU/Linux

Relevant lines from fstab:
//192.168.4.10/NetworkShare /shares/windows_f cifs 
auto,rw,credentials=/root/.creds,uid=ttwaro,gid=ttwaro 0 0

//192.168.4.10/NetworkShare2 /shares/windows_o cifs 
auto,rw,credentials=/root/.creds,uid=ttwaro,gid=ttwaro 0 0


Thierry Carrez wrote:
 Could those affected by the bug test that mounting with the nodfs
 mount option on the current kernel in intrepid-proposed works around the
 issue ? Thanks.
 

--

http://www.thetwaros.com
Registered Linux User #466934
http://counter.li.org/

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Thierry Carrez
Tom: nodfs is not a kernel boot parameter. It's a CIFS mount option,
you should add it to your /etc/fstab (only) for mounts targeting the
affected servers.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Jim Lehmer
It did not work for me as a mount parameter.

To recap:

1) When both the client and server were Ubuntu 8.04 the boot-time CIFS
mounts on the client just worked. See my post above for fstab entries.

2) Upgraded client to 8.10, boot-time CIFS mounts stopped working,
although can still get to the shares using the Places|Connect to
Server... menu. Not as convenient and not as accessible by scripts
however.

3) Upgraded server to 8.10 as well, boot-time CIFS mounts still don't
work, even with the nodfs and nounix mount options.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Tom
Thank you for the clarification, Thierry. I changed my fstab entry like 
this:
//192.168.4.10/NetworkShare /shares/windows_f cifs 
nodfs,auto,rw,credentials=/root/.creds,uid=ttwaro,gid=ttwaro 0 0

and rebooted. Still does NOT work. However, when manually running sudo 
mount /shares/windows_f I now receive this error:
[  823.764453] CIFS: Unknown mount option nodfs

 From what I have read I believe I need an update for my current version 
of kernel (2.6.27-9-generic). Guess I'll have to wait until then to try 
this.

Thierry Carrez wrote:
 Tom: nodfs is not a kernel boot parameter. It's a CIFS mount option,
 you should add it to your /etc/fstab (only) for mounts targeting the
 affected servers.
 

--

http://www.thetwaros.com
Registered Linux User #466934
http://counter.li.org/

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Steve French
On Tue, Dec 23, 2008 at 5:54 AM, Tom ttw...@gmail.com wrote:
 After adding nodfs to my kernel at boot time did NOT change anything.
 My MS Windows shares that use to mount automatically under 8.04 still do
 not mount automatically after adding that option. Yet, after boot, I can
 issue sudo mount /shares/windows_f and the share is mounted without
 incident or error messages.

 I performed an upgrade from 8.04, not a new, clean install.

 Relevant line from syslog:
 Dec 23 06:27:43 tom-nb kernel: [0.00] Kernel command line:
 root=UUID=9810c849-9967-45c4-9a82-415e2ddcb81c ro quiet splash nodfs


 Output from uname -a:
 Linux tom-nb 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686
 GNU/Linux

 Relevant lines from fstab:
 //192.168.4.10/NetworkShare /shares/windows_f cifs
 auto,rw,credentials=/root/.creds,uid=ttwaro,gid=ttwaro 0 0

 //192.168.4.10/NetworkShare2 /shares/windows_o cifs
 auto,rw,credentials=/root/.creds,uid=ttwaro,gid=ttwaro 0 0

I doubt that that problem was related to the problem with write which
was originally reported.  Since cifs has very few dependencies on
userspace (the upcall for Kerberos ie sec=krb5, and the upcall for dfs
hostname resolution), it is not obvious why automount should differ
from mount after boot, unless there is a problem getting to
/sbin/mount.cifs

-- 
Thanks,

Steve

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Tom
I have just upgraded to kernel 2.6.27-11-generic and running nodfs 
as a mount option as previously posted. I no longer get the error 
message but the mount still does not happen automatically during/after 
boot. I still need to mount the share manually. This worked every time 
in 8.04 and 7.10.

Vide wrote:
 Tom: as Thierry clearly stated  you have to use a recent kernel from the
 intrepid-proposed repository. The 2.6.27-9 you're using is still broken
 

--

http://www.thetwaros.com
Registered Linux User #466934
http://counter.li.org/

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Jim Lehmer
Steve:

I still wonder if it's a timing issue, i.e., if there was a subtle
change in services start order or else in the time it is taking
networking to completely come up? That could explain why (a) it worked
in 8.04 but not in 8.10, and (b) after the boot is complete and issuing
a mount command with the exact same parameters as the fstab entry it
just works.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Tom
I tried this but it didn't work. Isn't this for nfs fstype only? I have 
CIFS. I could be misunderstanding something, though.


Vide wrote:
 Tom, but your mount at bootime issue it's a completely different topic
 (do you put the _netdev label in the fstab options? it's mandatory for
 network shares).
 

--

http://www.thetwaros.com
Registered Linux User #466934
http://counter.li.org/

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-23 Thread Tom
One more thing, this is on my laptop connecting wirelessly to the 
shares. This worked perfectly EVERY time under 8.04 but never has worked 
under 8.10. I'm sure it is a timing issue (waiting for the wireless 
connection) but it had to do this under 8.04 too.

To reiterate:

* Window XP share
* Ubuntu 8.10 laptop wirelessly connected to the network
* Connected to share under 8.04 and 7.10 automatically
* Won't connect to share under 8.10 automatically
* Can manually mount share sudo mount /shares/windows_f
* fstab entry: //192.168.4.10/NetworkShare /shares/windows_f cifs 
nodfs,auto,rw,_netdev,credentials=/root/.creds,uid=ttwaro,gid=ttwaro 0 0
/
* Kernel: 2.6.27-11-generic

Thanks for your responses.

Vide wrote:
 Tom, but your mount at bootime issue it's a completely different topic
 (do you put the _netdev label in the fstab options? it's mandatory for
 network shares).
 

--

http://www.thetwaros.com
Registered Linux User #466934
http://counter.li.org/

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-22 Thread Thierry Carrez
Could those affected by the bug test that mounting with the nodfs
mount option on the current kernel in intrepid-proposed works around the
issue ? Thanks.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-18 Thread Steve Langasek
Accepted into intrepid-proposed, please test and give feedback here.
Please see https://wiki.ubuntu.com/Testing/EnableProposed for
documentation how to enable and use -proposed. Thank you in advance!

** Tags added: verification-needed

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-11 Thread mipper
@Skokie
Thanks very much for this tip.  That's sorted me out nicely.

I've contacted D-Link regarding a firmware fix for this issue and
received the following reply:

A firmware is being develop, we don't have an ETA or upgrades that it
will have, i invite you to go to forums.dlink.com, you can post and get
updated information by product managers on new releases.

So a genuine fix is on the way, just no idea when.  Looking at the
frequency with which firmware upgrades have been release in the past I'd
hope it's not too long before it arrives.

Many thanks to all who responded.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-08 Thread Keller Giacomarro
I can confirm that upgrading the server-side to Samba 3.2.5 fixed the
issue.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-02 Thread Skokie
Thank you to all who have taken the time to investigate!  The DNS323
suffers from this server side DFS bug but it is possible to work around
it!!!

Connect to the DNS using the web GUI and goto tools-system.

In this page you can save the configuration to your workstation.
After saving edit the file and add the following line under ;[ global ]
msdfs root = no

Save the file and now back in the GUI for the DNS323, upload the config
you edited.  The device will reset but the settings will be passed on to
the samba server and all will be well in wellsville.

Thanks again!

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-01 Thread mipper
So to summarize your summary,

if you don't have any control over the server - which was running fine
with the 8.04 client - you're stuffed!  I don't understand how a bug in
the server is causing something that works under 8.04 to stop working
under 8.10, and I really can't understand why fixing this doesn't seem
to be an urgent issue.  It wasn't the introduction of anything new on
the server side that caused this problem to arise, it was an update to
the client - or am I still missing something?

Regards,

mipper

 Just to summarize again:
 1) A few versions of Samba server had a bug parsing DFS paths (fixed
 in Samba server 3.0.26). You can see which version of server you have
 mounted to by doing cat /proc/fs/cifs/Debug
 Data  on the client). When the Linux CIFS client added support for
 DFS last year, those few (relatively old) versions of Samba servers
 (when configured for DFS) exhibited problems with certain path based
 calls (setting the file size was one) which can break some common
 applications.

 2) Although disabling the cifs unix extensions (mount option nounix)
 may help in some cases, the best solution is to upgrade the Samba
 server to any of the more recent versions of the server. If that is
 not possible, disabling DFS support (see comment 50) in the server is
 another possibility (on future kernels, 2.6.28 includes this e.g., you
 will be able to specify nodfs as a mount option on the client to
 workaround the problems on these two versions of Samba).

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-01 Thread Thierry Carrez
mipper:
This is a bug about servers claiming they support something that they don't. If 
client stuff makes use of that something and trust servers to properly 
implement what they claim they do, it doesn't work. It happens that the client 
stuff in Intrepid takes advantage of those advanced features, while the client 
stuff in hardy didn't.

The fix:
Fix your server by upgrading to a non-affected version.

However, we understand that the server might not be easily upgradable.
For example it might be a closed NAS box with a sucky warranty. For
those few stuck with buggy servers, we provide the following
workarounds:

- If you have access to the samba configuration on the server, you can add 
msdfs root = no in smb.conf
- If you have no access whatsoever to the server, a new kernel providing a 
nodfs client-side mount option is being published. You will be able to use 
that option to turn off the advanced features in the client stuff for Intrepid.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-01 Thread Jim Lehmer
To follow up on mipper's point, here's what I don't understand:

1) My server is Ubuntu 8.04, currently patched.

2) I upgraded my workstation from 8.04 to 8.10 and lose the ability to
have my CIFS shares on the server mounted automatically at boot time as
they were right up until I upgraded.

3) So, if it's the server's fault, why hasn't Ubuntu pushed out the
appropriate patches to 8.04?

The common thread in all of this is Ubuntu, and therefore IMHO Ubuntu
should FIX IT.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-01 Thread mipper
Thanks for the clarification, Thierry.  I am, alas, in the last position, so
am very interested in knowing when the new kernel will be published.  I
can't find any target dates on this bug report and it's the lack of any
visibility on when the fix might be released that's so frustrating.  How
does one find out when the release will be.

Regards,

mipper

2008/12/1 Thierry Carrez [EMAIL PROTECTED]

 mipper:
 This is a bug about servers claiming they support something that they
 don't. If client stuff makes use of that something and trust servers to
 properly implement what they claim they do, it doesn't work. It happens that
 the client stuff in Intrepid takes advantage of those advanced features,
 while the client stuff in hardy didn't.

 The fix:
 Fix your server by upgrading to a non-affected version.

 However, we understand that the server might not be easily upgradable.
 For example it might be a closed NAS box with a sucky warranty. For
 those few stuck with buggy servers, we provide the following
 workarounds:

 - If you have access to the samba configuration on the server, you can add
 msdfs root = no in smb.conf
 - If you have no access whatsoever to the server, a new kernel providing a
 nodfs client-side mount option is being published. You will be able to use
 that option to turn off the advanced features in the client stuff for
 Intrepid.

 --
 Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
 https://bugs.launchpad.net/bugs/286828
 You received this bug notification because you are a direct subscriber
 of the bug.


-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-12-01 Thread Thierry Carrez
mipper:
According to the kernel team, the patch is still in the pipeline. It /should/ 
appear in the next kernel published in intrepid-proposed.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-11-29 Thread mipper
Forgive my ignorance here, but I can see that there appears to have been
a fix committed for this bug, but I can't see when or how it's going to
be released.  This is an absolute show stopper bug as far as I can see,
so how and when can I get a fix for it?

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-11-29 Thread Steve French
Just to summarize again:
1) A few versions of Samba server had a bug parsing DFS paths (fixed
in Samba server 3.0.26).  You can see which version of server you have
mounted to by doing cat /proc/fs/cifs/Debug
Data  on the client). When the Linux CIFS client added support for
DFS last year, those few (relatively old) versions of Samba servers
(when configured for DFS) exhibited problems with certain path based
calls (setting the file size was one) which can break some common
applications.

2) Although disabling the cifs unix extensions (mount option nounix)
may help in some cases, the best solution is to upgrade the Samba
server to any of the more recent versions of the server.   If that is
not possible, disabling DFS support (see comment 50) in the server is
another possibility (on future kernels, 2.6.28 includes this e.g., you
will be able to specify nodfs as a mount option on the client to
workaround the problems on these two versions of Samba).

On Sat, Nov 29, 2008 at 11:30 AM, truxntrax [EMAIL PROTECTED] wrote:
 Waiting for a fix here too.  Confusingly this issue has ony affected one
 of my pc's after the ibex upgrade.  My laptop still see my nas box and
 popcorn hour but my desktop I have to manually nount drives after boot
 (sudo mount -a).

 Happy to help with any investigations if more information is required.



-- 
Thanks,

Steve

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-11-27 Thread Martien Verbruggen
I just installed the new kernel (2.6.27-9-generic x86_64), but this fix
doesn't seem to have made it in there yet. nodfs seems to be an unknown
mount option for cifs.

Any indication as to which update will have this fix?

Thanks,

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-11-25 Thread Holger Schletz
A warning about the msdfs root = no workaround: This broke some of the
drive mappings on Windows clients. Shares that are mapped via NET USE
(like in a logon script) don't seem to be affected - a name is a name -
but connections manually set up through the GUI seem to store some
additional information and had to be reconnected manually. So much about
network transparency *sigh*

I took the occasion and set up a logon script which does all the
mappings. This repaired some of the broken mappings automatically, but
some mappings still had to be disconnected manually. There seem to be
some other factors involved. Very weird.

I still think disabling an unused and broken feature is a good idea
anyway, but do some thorough testing and be prepared for having to fix
some issues manually.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-11-24 Thread Holger Schletz
Another workaround: set msdfs root = no on affected shares or in the
[global] section of smb.conf. If you don't use DFS at all you can also
disable it completely with host msdfs = no.

This also made UNIX extensions finally work. Note that I had to remount
all shares to get things working. I don't use DFS, so I can't tell what
effect mixing DFS shares with non-DFS shares will have.

This approach has the advantage that you don't need any changes on the
client side, even when the nodfs option will be available - useful if
you have a lot of clients to fix.

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-11-24 Thread MichaelE
Can confirm the bug on 8.10 with a samba server on Debian etch.
Disabling DFS solves it.

Display Internal CIFS Data Structures for Debugging
---
CIFS Version 1.54
Active VFS Requests: 0
Servers:
1) Name: x.y.z.a  Domain: EITELWEIN Mounts: 7 OS: Unix  
NOS: Samba 3.0.24   Capability: 0x80e3fd
SMB session status: 1   TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
MIDs:

Shares:
1) \\x.y.z\michael Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b
PathComponentMax: 255 Status: 1 type: 0

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 286828] Re: Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10

2008-11-21 Thread Tim Gardner
SRU Justification

Impact: see bug description
Patch Description: add a nodfs mount options that forces a share to be used 
with non DFS paths, even if the server claims, that it supports it.

Patch: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
intrepid.git;a=commit;h=e5cefa9f15f8952579d697d54f27f5e82d0b2113

Test case: see bug description

** Changed in: linux (Ubuntu Intrepid)
   Importance: Undecided = High
 Assignee: (unassigned) = Tim Gardner (timg-tpi)
   Status: New = Fix Committed
   Target: None = intrepid-updates

** Changed in: samba (Ubuntu Intrepid)
   Status: New = Invalid

** Changed in: linux (Ubuntu)
   Status: New = Invalid

-- 
Access to samba 3.0.24-3.0.25 shares using CIFS is broken on 8.10
https://bugs.launchpad.net/bugs/286828
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs