public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cifs kernel module and MS DFS shares [2.6.12-1.1411_FC4]
@ 2005-08-08 14:26 Thomas Chiverton
  2005-08-08 14:56 ` Mathieu Chouquet-Stringer
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Chiverton @ 2005-08-08 14:26 UTC (permalink / raw)
  To: linux-kernel

(I was referred here by Thomas Anders over on the Samba list, as apparently 
it's the cifs kernel module at fault ?).

I am having problems mounting a DFS share using mount.cifs, even though it 
works in smbclient fine.
After mounting, each top-level directory contains a copy of the top level 
directory.
Turning up debug and verbose don't seem to help. Any ideas ?

I can mount non-DFS shares from the same CIFS server fine.

[tom@charles-compaq@1306 /home/tom/Projects/gbb-core-app ]
  smbclient //exchsvr/dfs -U tchiverton -W BLUEFINGER
Password:
Domain=[BLUEFINGER] OS=[Windows Server 2003 3790 Service Pack 1] 
Server=[Windows Server 2003 5.2]
smb: \> ls
  .                                   D        0  Sun Aug  7 16:06:52 2005
  ..                                  D        0  Sun Aug  7 16:06:52 2005
  Applications                        D        0  Sun Aug  7 16:06:52 2005
  Common                              D        0  Sun Aug  7 13:54:40 2005
  Consultants                         D        0  Sun Aug  7 14:01:50 2005
  Directors                           D        0  Sun Aug  7 14:06:19 2005
  Engineering                         D        0  Sun Aug  7 13:57:48 2005
  Finance                             D        0  Sun Aug  7 13:53:59 2005
  Management                          D        0  Sun Aug  7 10:37:01 2005
  Software Development                D        0  Sun Aug  7 13:58:54 2005
  Version                             D        0  Sun Aug  7 14:04:56 2005
  WinTA Data                          D        0  Sun Aug  7 14:10:29 2005

                44955 blocks of size 2097152. 25934 blocks available
smb: \> cd Consultants
smb: \Consultants\> ls
  .                                   D        0  Wed Aug  3 11:51:57 2005
  ..                                  D        0  Sun Aug  7 12:19:03 2005
  NO                                  D        0  Thu Nov 18 10:35:49 2004
  EEZ Course                          D        0  Wed Mar 23 13:48:54 2005
  BlueFinger Software Library         D        0  Tue Jul  5 13:39:32 2005
  IM                                  D        0  Wed Aug  3 13:19:30 2005

                55995 blocks of size 1048576. 9499 blocks available
smb: \Consultants\> exit

Great ! So now...

[root@charles-compaq gbb_domain]#  mount.cifs //exchsvr/dfs /mnt/dfs/ -o 
user=tchiverton,domain=BLUEFINGER
Password:
[root@charles-compaq gbb_domain]#  ls /mnt/dfs/
Applications  Consultants  Engineering  Management            Version
Common        Directors    Finance      Software Development  WinTA Data
[root@charles-compaq gbb_domain]# ls /mnt/dfs/Consultants/
Applications  Consultants  Engineering  Management            Version
Common        Directors    Finance      Software Development  WinTA Data
[root@charles-compaq gbb_domain]#      

Bah :-(
-- 

Tom Chiverton 
Advanced ColdFusion Programmer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cifs kernel module and MS DFS shares [2.6.12-1.1411_FC4]
  2005-08-08 14:26 cifs kernel module and MS DFS shares [2.6.12-1.1411_FC4] Thomas Chiverton
@ 2005-08-08 14:56 ` Mathieu Chouquet-Stringer
  2005-08-08 15:09   ` Thomas Chiverton
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Chouquet-Stringer @ 2005-08-08 14:56 UTC (permalink / raw)
  To: Thomas Chiverton; +Cc: linux-kernel

thomas.chiverton@bluefinger.com (Thomas Chiverton) writes:
> [root@charles-compaq gbb_domain]#  mount.cifs //exchsvr/dfs /mnt/dfs/ -o 
> user=tchiverton,domain=BLUEFINGER
> Password:
> [root@charles-compaq gbb_domain]#  ls /mnt/dfs/
> Applications  Consultants  Engineering  Management            Version
> Common        Directors    Finance      Software Development  WinTA Data
> [root@charles-compaq gbb_domain]# ls /mnt/dfs/Consultants/
> Applications  Consultants  Engineering  Management            Version
> Common        Directors    Finance      Software Development  WinTA Data
> [root@charles-compaq gbb_domain]#      

I've got the same issue but if I go down 2 or 3 levels, it works (ie
continue to go down the same directory until you see a valid content). Even
better, I can cd into non existing directories and it "works" (as in I
still see the content of the mountpoint).
So using your example, to see the real content of Consultants, I would have
to do this:
cd /mnt/dfs/Consultants/Consultants/Consultants
or this
cd /mnt/dfs/what/ev/Consultants

I haven't looked at the source yet so I'm not sure what's going on there...
-- 
Mathieu Chouquet-Stringer
    "Le disparu, si l'on vénère sa mémoire, est plus présent et
                 plus puissant que le vivant".
           -- Antoine de Saint-Exupéry, Citadelle --

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cifs kernel module and MS DFS shares [2.6.12-1.1411_FC4]
  2005-08-08 14:56 ` Mathieu Chouquet-Stringer
@ 2005-08-08 15:09   ` Thomas Chiverton
  2005-08-11 10:32     ` Thomas Chiverton
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Chiverton @ 2005-08-08 15:09 UTC (permalink / raw)
  To: Mathieu Chouquet-Stringer; +Cc: linux-kernel

On Monday 08 August 2005 15:56, Mathieu Chouquet-Stringer wrote:
> I've got the same issue but if I go down 2 or 3 levels, it works (ie

Well, *something* changes after 3 levels:

 ls /mnt/dfs/Consultants/
Applications  Consultants  Engineering  Management            Version
Common        Directors    Finance      Software Development  WinTA Data

 ls /mnt/dfs/Consultants/Consultants/
Applications  Consultants  Engineering  Management            Version
Common        Directors    Finance      Software Development  WinTA Data

 ls /mnt/dfs/Consultants/Consultants/Consultants/
ls: reading directory /mnt/dfs/Consultants/Consultants/Consultants/: Object is 
remote

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cifs kernel module and MS DFS shares [2.6.12-1.1411_FC4]
  2005-08-08 15:09   ` Thomas Chiverton
@ 2005-08-11 10:32     ` Thomas Chiverton
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Chiverton @ 2005-08-11 10:32 UTC (permalink / raw)
  To: linux-kernel

On Monday 08 August 2005 16:09, Thomas Chiverton wrote:
> On Monday 08 August 2005 15:56, Mathieu Chouquet-Stringer wrote:
> > I've got the same issue but if I go down 2 or 3 levels, it works (ie
>
> Well, *something* changes after 3 levels:

Anyone else ?
Should I be logging a bug at redhat instead of posting here ?

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-11 10:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 14:26 cifs kernel module and MS DFS shares [2.6.12-1.1411_FC4] Thomas Chiverton
2005-08-08 14:56 ` Mathieu Chouquet-Stringer
2005-08-08 15:09   ` Thomas Chiverton
2005-08-11 10:32     ` Thomas Chiverton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox