[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-05 Thread Andrew McRae
So this confirms it's a new defect in Ubuntu's Samba library.

Final rant begins!
I reiterate, Windows has no problem at all with reading and writing shares on 
my NAS, and neither did Hardy.
A bug is a matter of actual interoperability and user expectation. One day, 
somebody changed something in the SMB library used by Ubuntu and it broke 
compatibility with servers that other miscellaneous clients can still use just 
fine. They caused a bug.

Contrary to your allegation, I had read the previous comments and had
seen the nodfs workaround but did not find it acceptable from a design
point of view. Again, a lot of hand waving and misdirection to try to
ignore that somebody coded Samba however they felt like that day
regardless of the impact it had on the real user population.

It's like some people love Ubuntu so much that they will defend the
indefensible - even in an Ubuntu bug tracker forum with 93 posts and
three duplicate reports! :-)

What do all the unaffected clients have in common? They don't use the new 
Samba. If this buggy version of Samba had not been added to Ubuntu we would not 
have seen a problem. 
That's the hilarious part of the bug: The Samba project only broke 
compatibility with *themselves*. 

Here's what it boils down to. The only way you could argue this was not due to 
a defect in Ubuntu is to suggest there is some specification somewhere which 
says that the new version of Samba is the one true "correct" version and 
therefore the CIFS share in my NAS should *never* have worked properly at all 
when mounted by the smbmount module in Hardy, and by the client in prior 
Unbuntu versions, AND by the equivalent subsystem in Windows XP, AND by my WM6 
PocketPC phone. Even if that were true, in practice what is the value of such 
knowledge when the cure is worse than the disease? 
Samba is not the centre of the universe. We are people who do not expect O/S 
"upgrades" to break compatibility with perfectly functional file servers. It 
should not have been fixed it if it wasn't broken. A peer-to-peer protocol 
library should not have been changed in a way that required all clients and 
servers to be updated simultaneously.

My problem isn't with you personally, Vide, since you've been quite helpful 
actually.
The systemic problem is the "fractured community" nature of Linux development, 
which routinely lacks care, cohesion, and practicality.  Yeah, I shouldn't 
expect much for free.

Thank you for taking the time to spell out what I consider to be a workaround. 
I guess under the circumstances I'll have to take whatever remedy I can get. 
I'll give it a try.

-- 
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-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-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-05-06 Thread Andreas
"nodfs" does the trick for me too :-)  Thanks a lot
Was not able do to file synchronization (using unison or synkron) - got a lot 
off errors...

I am using as Client:
ubuntu desktop 8.10 Intrepid with kernel 2.6.27-11 (default) - fstab command
"//500Gig/public /media/500Gig  cifsguest,nodfs,rw,iocharset=utf8,uid=1000 
0 0"

as Server:
A Philips NAS (SPD8020CC/10, Firmware Version: 1.2.9.47)

-- 
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


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

2009-01-28 Thread Kees Cook
** CVE removed: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2008-5079

** CVE removed: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2008-5300

-- 
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-27 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.27-11.25

---
linux (2.6.27-11.25) intrepid-proposed; urgency=low

  [ Jeff Layton ]

  * SAUCE: cifs: make sure we allocate enough storage for socket address
- LP: #318565

linux (2.6.27-11.24) intrepid-proposed; urgency=low

  [ Stefan Bader ]

  * Revert "SAUCE: don't use buggy _BCL/_BCM/_BQC for backlight control"
- LP: #311716
  * SAUCE: acpi: Hack to enable video and vendor backlight implementations
- LP: #311716
  * SAUCE: Force vendor backlight control on ThinkPad T61
- LP: #311716

  [ Upstream Kernel Changes ]

  * Revert "thinkpad_acpi: fingers off backlight if video.ko is serving
this functionality"
- LP: #311716

linux (2.6.27-11.23) intrepid-proposed; urgency=low

  [ Andy Whitcroft ]

  * SAUCE: don't use buggy _BCL/_BCM/_BQC for backlight control
- LP: #311716, #314119

  [ Jim Lieb ]

  * SAUCE: atl2: add tx bytes statistic
- LP: #268622

  [ Upstream Kernel Changes ]

  * i915: Save/restore MCHBAR_RENDER_STANDBY on GM965/GM45
- LP: #276943

linux (2.6.27-11.22) intrepid-proposed; urgency=low

  [ Andy Whitcroft ]

  * Revert "synchronise our linux-libc-dev with the kernel userspace
headers". It was causing regressions.
- LP: #300803

  [ Brian Rogers ]

  * SAUCE:  Add support for MSI t...@nywhere Plus remote
- LP: #281647

  [ Tim Gardner ]

  * SAUCE: Dell laptop digital mic does not work, PCI 1028:0271
- LP: #309508

  [ Upstream Kernel Changes ]

  * Revert "sched_clock: prevent scd->clock from moving backwards"
  * AMD IOMMU: enable device isolation per default
  * bonding: fix miimon failure counter
  * x86 Fix VMI crash on boot in 2.6.28-rc8
  * libata: fix Seagate NCQ+FLUSH blacklist
  * e1000e: fix double release of mutex
  * can: Fix CAN_(EFF|RTR)_FLAG handling in can_filter
  * can: omit received RTR frames for single ID filter lists
  * iwlwifi: clean key table in iwl_clear_stations_table function
  * net: eliminate warning from NETIF_F_UFO on bridge
  * unicode table for cp437
  * console ASCII glyph 1:1 mapping
  * key: fix setkey(8) policy set breakage
  * firewire: fw-ohci: fix IOMMU resource exhaustion
  * ieee1394: add quirk fix for Freecom HDD
  * SUNRPC: Fix a performance regression in the RPC authentication code
  * b1isa: fix b1isa_exit() to really remove registered capi controllers
  * macfb: Do not overflow fb_fix_screeninfo.id
  * setup_per_zone_pages_min(): take zone->lock instead of zone->lru_lock
  * xilinx_hwicap: remove improper wording in license statement
  * Linux 2.6.27.10 except for "iwlagn: fix RX skb alignment". Besides causing
an ABI bump it only applies to machines using > 4K page size (such as 
PowerPC).
Pick this one up on the next ABI bumping upload.
- LP: #309731

linux (2.6.27-11.21) intrepid-proposed; urgency=low

  [ Andy Whitcroft ]

  * synchronise our linux-libc-dev with the kernel userspace headers
- LP: #300803

  [ Jim Lieb ]

  * SAUCE: [PATCH 1/1] USB: Unusual devs patch for Nokia 5610
- LP: #287701

  [ Michael Krufky ]

  * sms1xxx: use new firmware for Hauppauge WinTV MiniStick
- LP: #299671
  * sms1xxx: add autodetection support for Hauppauge WinTV MiniCard
- LP: #299680
  * sms1xxx: add functions to configure and set gpio
- LP: #301405
  * sms1xxx: turn off LEDs after initialization of Hauppauge WinTV
MiniStick
- LP: #301405
  * sms1xxx: enable power LED on Hauppauge WinTV MiniStick
- LP: #301405
  * sms1xxx: enable LNA control on Hauppauge WinTV MiniCard
- LP: #301204
  * sms1xxx: fix invalid unc readings
- LP: #301405
  * sms1xxx: enable signal quality indicator LEDs on Hauppauge WinTV
MiniStick
- LP: #301405
  * sms1xxx: identify "Dell Digital TV Receiver" devices correctly
- LP: #302509

  [ Stefan Bader ]

  * iscsitarget: Update to official 0.4.16 driver
- LP: #278625
  * uvcvideo: Commit streaming parameters when enabling the video stream.
- LP: #290506

  [ Tim Gardner ]

  * ALSA: hda: Add STAC_DELL_M4_3 quirk
- LP: #301738
  * Fix compile error after updating iscsitarget
  * [ALSA] Fix audio output regression.
- LP: #294418
  * Restore AMOI_VENDOR_ID/AMOI_PRODUCT_9508 macros

  [ Upstream Kernel Changes ]

  * V4L/DVB (8729): Use DIV_ROUND_UP
- LP: #301580
  * V4L/DVB (8754): uvcvideo: Implement the USB power management
reset_resume method.
- LP: #301572
  * V4L/DVB (8846): uvcvideo: Supress spurious "EOF in empty payload" trace
message
- LP: #301580
  * V4L/DVB (8847): uvcvideo: Add support for a Bison Electronics webcam
found in the Fujitsu Amilo SI2636.
- LP: #301576
  * V4L/DVB (9030): uvcvideo : Add support for Advent 4211 integrated
webcam
- LP: #301576
  * V4L/DVB (9031): uvcvideo: Fix incomplete frame drop when switching to a
variable size format.
- LP: #290506
  * V4L/DVB:usbvideo:don't use part of buffer for USB transfer #4
- LP: #301580
  * V4L/DVB (9035): uvcvideo: Declare mi

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 \\\.  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-19 Thread Thierry Carrez
Cool, thanks Vide !
simonm: please file a separate bug for your appending issue, since it looks 
like a separate (additional) 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

2009-01-19 Thread Vide
Thierry, I've just tried what simonm said and no errors here, it all
seems fine (mounting a Debian 3.0.24-6etch10 samba server from Ubuntu
8.10 with 2.6.27-11 kernel and the nodfs option)

% echo "1 2 3" >> test_file
% cat test_file
1 2 3
% echo "4 5 6" >> test_file
% cat test_file
1 2 3
4 5 6

-- 
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
Could the other people affected do the same redirection test simonm did
? Just to check if it's a general problem or a specific (Time Capsule ?)
one.

-- 
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


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

2008-12-24 Thread Steve French
I agree that a distinct problem should be opened for the automount
issue.  The two problems are distinct and the problem with automount
is likely due to changes in network driver initialization or
packaging.

On Wed, Dec 24, 2008 at 2:43 AM, Thierry Carrez
 wrote:
> Jim/Tom:
> As Steve said, this is very likely to be a separate issue (my guess would be 
> the network-manager changes in 8.10 that expose wireless connections very 
> late in the boot/login process), could one of you please file a separate bug 
> ? I don't want to delay publication of this fix because of disconnected 
> problems.
>
> As far as this bug is concerned, if booting 2.6.27-11 and (manually)
> mounting the CIFS share with nodfs allows the mount to succeed, then
> it's ok. So far vide, mipper and Tom confirmed that 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 direct subscriber
> of the bug.
>


-- 
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-12-24 Thread Thierry Carrez
Jim/Tom:
As Steve said, this is very likely to be a separate issue (my guess would be 
the network-manager changes in 8.10 that expose wireless connections very late 
in the boot/login process), could one of you please file a separate bug ? I 
don't want to delay publication of this fix because of disconnected problems.

As far as this bug is concerned, if booting 2.6.27-11 and (manually)
mounting the CIFS share with nodfs allows the mount to succeed, then
it's ok. So far vide, mipper and Tom confirmed that 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


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


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


[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
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).

-- 
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 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


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  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
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


[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
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

-- 
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


[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


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 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


[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-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 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


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 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


[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 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


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-29 Thread truxntrax
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.

-- 
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


[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 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-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-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