It looks like this has been fixed upstream.  I will close it.  If the
problem still occurs, please reopen it.


** Changed in: linux (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/740062

Title:
  DFS referrals only work for lower case or direct chdir

Status in linux package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: linux-image-2.6.38-7-server

  When a CIFS share has remote DFS links, the user is unable to access
  the mount properly. A short summary, where RemoteDir is a DFS to
  another server:

  # mount.cifs //dfs.main.org/ test/ -o user=WORKGROUP/USER,noserverinode
  # ls test/
  RemoteDir
  # ls test/RemoteDir/
  ls: cannot open directory test/RemoteDir: Not a directory
  # umount test

  % And again, now with both ls on one line
  # mount.cifs //dfs.main.org/ test/ -o user=WORKGROUP/USER,noserverinode
  # ls test/; ls test/RemoteDir
  RemoteDir
  ls: reading directory test/RemoteDir/: Object is remote
  # umount test

  % Now chdir directly, without doing an ls (this is important)
  # mount.cifs //dfs.main.org/ test/ -o user=WORKGROUP/USER,noserverinode
  # cd test/RemoteDir
  test/RemoteDir# ls
  file1 file2 
  test/RemoteDir# cd ../../; umount test

  
  % However, lower case works normally
  # mount.cifs //dfs.main.org/ test/ -o user=WORKGROUP/USER,noserverinode
  # cd test
  test# ls
  RemoteDir
  test# ls remotedir
  file1 file2
  test# ls RemoteDir
  ls: cannot open directory test/RemoteDir: Not a directory
  # umount test

  Note that unmounting is very important. After a mistake, (e.g. chdir
  does not work after ls), the share has to be remounted in order to
  chdir directly.

  The problem is basically described here, except for report on lower case 
access:
  http://www.mail-archive.com/[email protected]/msg01848.html

  However, those patches are already in the 2.6.38 kernel (currently
  running linux-image-2.6.38-7-server (rev 37)), and the problem still
  persists.

  On mounting, the kernel complains about:
  CIFS VFS: Unexpected SMB signature
  but no further complains on chdir/ls to the (DFS) mounts.

  I am pretty sure this is a kernel problem, as downgrading to
  2.6.32-21-server (Lucid kernel) solves all problems (that is,
  keyutils, time, credentials etc. are installed correctly).

  System information:

  1)
  # lsb_release -rd
  Description:  Ubuntu Natty (development branch)
  Release:      11.04

  2)
  # apt-cache policy linux-image-2.6.38-7-server
  linux-image-2.6.38-7-server:
    Installed: 2.6.38-7.37
    Candidate: 2.6.38-7.37
    Version table:
   *** 2.6.38-7.37 0
          500 http://nl.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
          100 /var/lib/dpkg/status

  3) I expect that DFS referrals work properly
  4) They do not work properly
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
  AplayDevices: Error: [Errno 2] No such file or directory
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D0c', 
'/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1p', '/dev/snd/seq', '/dev/snd/timer'] 
failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info: Error: [Errno 2] No such file or directory
  Card0.Amixer.values: Error: [Errno 2] No such file or directory
  DistroRelease: Ubuntu 11.04
  InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Alpha amd64 
(20110201.2)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  MachineType: Dell Inc. OptiPlex 760
  Package: linux (not installed)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-server 
root=UUID=612c0087-c583-4155-ac06-f1492c4828a4 ro quiet
  ProcVersionSignature: Ubuntu 2.6.38-7.39-server 2.6.38
  RelatedPackageVersions:
   linux-restricted-modules-2.6.38-7-server N/A
   linux-backports-modules-2.6.38-7-server  N/A
   linux-firmware                           1.52
  RfKill:
   
  Tags:  natty
  Uname: Linux 2.6.38-7-server x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
  dmi.bios.date: 08/17/2009
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A05
  dmi.board.name: 0M859N
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.asset.tag: cl03-r756
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA05:bd08/17/2009:svnDellInc.:pnOptiPlex760:pvr:rvnDellInc.:rn0M859N:rvrA00:cvnDellInc.:ct3:cvr:
  dmi.product.name: OptiPlex 760
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/740062/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to