[Samba] Problem with DFS mounting (works OK in smbclient) [samba-3.0.14a-2.1.fc4.kde]

Thomas Chiverton thomas.chiverton at bluefinger.com
Mon Aug 8 12:12:16 GMT 2005


I am having problems mounting a DFS share, even though it works in smbclient 
fine.
After mounting, the mount point (in ls) has question marks for everything, and 
when ls'ing I just get permission denied.
Turning up debug and verbose don't seem to help. Any ideas ?

[tom at 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 at charles-compaq gbb_domain]# smbmount //exchsvr/dfs /mnt/dfs/ -o 
username=tchiverton,workgroup=BLUEFINGER
Password:
[root at charles-compaq gbb_domain]# [2005/08/08 12:59:08, 0] 
client/smbmount.c:send_fs_socket(406)
  mount.smbfs: entering daemon mode for service \\exchsvr\dfs, pid=10453
[root at charles-compaq gbb_domain]# ls -la /mnt/
... (trimed)
?---------   ? ?         ?            ?            ? dfs
... (trimed)
[root at charles-compaq gbb_domain]# ls /mnt/dfs
ls: /mnt/dfs: Permission denied

Bah :-(
-- 

Tom Chiverton 
Advanced ColdFusion Programmer


More information about the samba mailing list