Bug 7213 - vfs-module expand_msdfs don't show any msdfs-share if enabled
Summary: vfs-module expand_msdfs don't show any msdfs-share if enabled
Status: RESOLVED DUPLICATE of bug 5998
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 3.3.10
Hardware: x64 Linux
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 07:53 UTC by Steffen Frömer
Modified: 2020-12-22 01:10 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Frömer 2010-03-05 07:53:00 UTC
share is not visible

we are running samba 3.3.10 with configured DFS. It works fine. If I enable vfs-module expand_msdfs, there is no visible link in my share. 
When vfs-module is disabled, the msdfs-links are visible.


--- configuration
Samba: 3.3.10
OS: RHEL 5.4

--- rpm-packages
samba3-3.3.10-40.el5
samba3-cifsmount-3.3.10-40.el5
samba3-client-3.3.10-40.el5
samba3-winbind-32bit-3.3.10-40.el5
samba3-utils-3.3.10-40.el5
samba3-winbind-3.3.10-40.el5


examples attached ...


'''smb.conf
[global]
        # DFS settings
        host msdfs = yes

        # expand_msdfs settings
        vfs objects = expand_msdfs


[test-share]
        path = /usr2/people/caesamba/test_share
        read only = yes
        browseable = yes
        guest ok = yes
        msdfs root = yes


'''/etc/samba/tablefile.map
192.168   samba1.domain.de 
192.178   samba2.domain.de
          defaultsamba.domain.de


'''content of /usr2/people/caesamba/test_share on 'samba.domain.de'
lrwxrwxrwx  home -> msdfs:@tablefile@\up
lrwxrwxrwx  home2 -> msdfs:@tablefile.map@\up
lrwxrwxrwx  new_test -> msdfs:@/etc/samba/tablefile.map@/up
lrwxrwxrwx  new_test2 -> msdfs:@/etc/samba/tablefile.map@\up
-rw-r--r--  test-share
lrwxrwxrwx  u2p -> msdfs:evebe631\u2p


'''content of share with enabled vfs-module
#01: smbclient -k //samba.domain.de/test-share
   .                                   D        0  Fri Mar  5 12:12:12 2010
   ..                                  D        0  Thu Mar  4 13:24:47 2010
   test-share                                   0  Thu Mar  4 14:55:04 2010

'''content of share with disabled vfs-module
#02: smbclient -k //samba.domain.de/test-share
   .                                   D        0  Fri Mar  5 12:12:12 2010
   ..                                  D        0  Thu Mar  4 13:24:47 2010
   u2p                                 D        0  Thu Mar  4 15:03:26 2010
   new_test                            D        0  Fri Mar  5 12:11:44 2010
   new_test2                           D        0  Fri Mar  5 12:12:12 2010
   test-share                                   0  Thu Mar  4 14:55:04 2010
   home2                               D        0  Thu Mar  4 14:54:47 2010
   home                                D        0  Thu Mar  4 13:27:31 2010


'''content new_test2 (msdfs-link)

121#: smbclient -k //samba.domain.de/test-share -c "ls new_test2"
OS=[Unix] Server=[Samba 3.3.10]
Connection to @ failed (Error NT_STATUS_BAD_NETWORK_NAME)
Unable to follow dfs referral [\@\etc]
do_list: [\new_test2] NT_STATUS_PATH_NOT_COVERED
Comment 1 TAKAHASHI Motonobu 2010-11-06 10:00:51 UTC
Same as #5998?
Comment 2 TAKAHASHI Motonobu 2010-11-06 10:01:38 UTC
(In reply to comment #1)
> Same as #5998?

#5998 -> BUG#5998


Comment 3 Björn Jacke 2020-12-22 01:10:27 UTC

*** This bug has been marked as a duplicate of bug 5998 ***