Hello,
Maybe this information will be usefull in tracking down our problem:
[global]
host msdfs = Yes
[shared-aiv]
path = /home/samba/dfsroot-aiv
msdfs root = Yes
browseable = Yes
On the same server, there are two others shares [pcsupp-aiv] &
[hardsoft-aiv]
I'll only show the first one (the second is identical).
[pcsupp-aiv]
path = /home/samba/pcsupp-aiv
comment = PC Support
browseable = No
valid users = @pcsupp-aiv-w, @pcsupp-aiv-r
writeable = No
write list = @pcsupp-aiv-w
force group = +pcsupp-aiv-w
create mode = 664
directory mode = 2775
security mask = 664
directory security mask = 2775
force security mode = 664
force directory security mode = 2775
Under the dfsroot these links are created:
/home/samba/dfsroot-aiv
[root@ls-aiv-03 dfsroot-aiv]# ls -l
total 0
lrwxr-xr-x 1 root root 28 Jan 30 11:35 hardsoft ->
msdfs:ls-aiv-03\hardsoft-aiv
lrwxr-xr-x 1 root root 26 Jan 30 11:34 pcsupport ->
msdfs:ls-aiv-03\pcsupp-aiv
No problems with Win200, Win98 & Win95: can't see contents of the
shares.
Log level = 5
What happens when clicking on the map pcsupport in the share [shared-aiv]:
Windows2000 - OK
===============
[2002/01/30 11:08:47, 5] smbd/uid.c:become_user(201)
become_user uid=(0,10067) gid=(0,79999999)
[2002/01/30 11:08:47, 3] smbd/vfs.c:vfs_init_default(98)
Initialising default vfs hooks
[2002/01/30 11:08:47, 5] msdfs/msdfs.c:is_msdfs_link(185)
is_msdfs_link: /home/samba/dfsroot-aiv/pcsupport ->
msdfs:ls-aiv-03\pcsupp-aiv
[2002/01/30 11:08:47, 3] msdfs/msdfs.c:setup_dfs_referral(600)
setup_dfs_referral: Path \LS-AIV-03\shared-aiv\pcsupport\ to alternate
path(s): \ls-aiv-03\pcsupp-aiv.
[2002/01/30 11:08:47, 3] smbd/process.c:process_smb(860)
Transaction 1449 of length 77
Windows 98 - NOT OK
===============
[2002/01/30 11:12:59, 5] smbd/uid.c:become_user(201)
become_user uid=(0,10067) gid=(0,79999999)
[2002/01/30 11:12:59, 3] smbd/vfs.c:vfs_ChDir(658)
vfs_ChDir to /home/samba/dfsroot-aiv
[2002/01/30 11:12:59, 3] smbd/trans2.c:call_trans2findfirst(671)
call_trans2findfirst: dirtype = 22, maxentries = 6, close_after_first=0,
close_if_end = 0 requires_resume_key = 0 level = 260, max_data
_bytes = 2432
[2002/01/30 11:12:59, 5] msdfs/msdfs.c:is_msdfs_link(171)
is_msdfs_link: /home/samba/dfsroot-aiv/pcsupport/* does not exist.
[2002/01/30 11:12:59, 5] msdfs/msdfs.c:is_msdfs_link(185)
is_msdfs_link: /home/samba/dfsroot-aiv/pcsupport ->
msdfs:ls-aiv-03\pcsupp-aiv
[2002/01/30 11:12:59, 4] msdfs/msdfs.c:resolve_dfs_path(257)
resolve_dfs_path: Redirecting \LS-AIV-03\SHARED-AIV\PCSUPPORT\* because
parent /home/samba/dfsroot-aiv/pcsupport is dfs link
[2002/01/30 11:12:59, 3] msdfs/msdfs.c:dfs_redirect(309)
dfs_redirect: Redirecting \LS-AIV-03\SHARED-AIV\PCSUPPORT\*
[2002/01/30 11:12:59, 3] smbd/error.c:error_packet(99)
error string = No such file or directory
[2002/01/30 11:12:59, 3] smbd/error.c:error_packet(111)
error packet at msdfs/msdfs.c(643) cmd=50 (SMBtrans2) eclass=2 ecode=3
As you can see, with Win200 you have "setup_dfs_referral" while with
Win98 you get an "error string and error packet".
We also encounter another error:
[2002/01/30 11:12:59, 5] smbd/uid.c:become_user(201)
become_user uid=(0,10067) gid=(0,79999999)
[2002/01/30 11:12:59, 3] smbd/vfs.c:vfs_ChDir(658)
vfs_ChDir to /tmp
[2002/01/30 11:12:59, 3] smbd/vfs.c:vfs_init_default(98)
Initialising default vfs hooks
[2002/01/30 11:12:59, 3] msdfs/msdfs.c:get_referred_path(368)
get_referred_path: .PCSUPP-AIV. in dfs path
\\LS-AIV-03\PCSUPP-AIV\PCSUPPORT\*.* is not a dfs root.
[2002/01/30 11:12:59, 3] smbd/error.c:error_packet(111)
error packet at smbd/trans2.c(2334) cmd=50 (SMBtrans2) eclass=1 ecode=2
Why the dfs path \\LS-AIV-03\PCSUPP-AIV\PCSUPPORT is used is very
strange, since we only have the map PCSUPPORT in the share
\\LS-AIV-03\SHARED-AIV\. Again we see the "error packet".
I hope that this informations helps out in finding out what's going wrong!
Werner Maes
KULeuven