DFS in samba 4.1 is only working for administrator. You need a patch to
solve it. Read this list, thread: [Samba] Samba 4.1 DFS Share only access by
administrator
Greetings
Daniel
EDV Daniel M?ller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 T?bingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
"Der Mensch ist die Medizin des Menschen"
-----Urspr?ngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
Im
Auftrag von Sandbox
Gesendet: Mittwoch, 5. M?rz 2014 12:50
An: samba at lists.samba.org
Betreff: [Samba] DFS
Robert Gurdon robert.gurdon at gmail.com
12:49 (0 perce)
c?mzett: samba
Hai,
I would like to set up a DFS with this configuration:
I have 3 Samba4 servers (4.1.4).
2 of them should work as a DFS "client" the third one will be the DFS
stotage (actualy this servers has the required amount of space).
So, i configured all shares on DC3 and point to those shares on DC1 and DC2.
Everything works but only with Administrator account from win2003 server:
Related log:
root at domainc02:/var/log# tail -f syslog samba/samba.log | grep informatika
is_msdfs_link_internal: ./informatika -> msdfs:
check_msdfs_link: Masquerading msdfs link ./informatika as a directory
dos_mode_msdfs: ./informatika
smbd_dirptr_get_entry mask=[*] found ./informatika fname=informatika
(informatika)
hash2_name_to_8_3: informatika -> 45D17B72 -> IJDE8H~E (cache=1) I tried
with an account which has administrator rights from a win7 machine, isn't
working, it says I don't have rights to open that shared directory.
Related log:
root at domainc02:/var/log# tail -f syslog samba/samba.log | grep informatika
smbd_smb2_create: name[domainc02\dfs\informatika\desktop.ini]
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika/desktop.ini
unix_convert called on file "informatika/desktop.ini"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika/desktop.ini, dirpath = , start
informatika/desktop.ini is_mangled informatika/desktop.ini ?
is_mangled_component informatika/desktop.ini (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd828c69ab0:size b) INFORMATIKA -> informatika
OpenDir: Can't open informatika. No such file or directory scan dir
didn't
open dir [informatika]
is_msdfs_link_read_target: informatika/desktop.ini does not exist.
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: Redirecting domainc02\dfs\informatika\desktop.ini because
parent informatika is dfs link
dfs_redirect: Redirecting domainc02\dfs\informatika\desktop.ini
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika\desktop.ini with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika\desktop.ini
utf16-length: 76
Requested DFS name: \domainc02\dfs\informatika\desktop.ini length: 76
servername : '\domainc02\dfs\informatika\desktop.ini'
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
smbd_smb2_create: name[domainc02\dfs\informatika\desktop.ini]
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika/desktop.ini
unix_convert called on file "informatika/desktop.ini"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika/desktop.ini, dirpath = , start
informatika/desktop.ini is_mangled informatika/desktop.ini ?
is_mangled_component informatika/desktop.ini (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd8297e3eb0:size b) INFORMATIKA -> informatika
OpenDir: Can't open informatika. No such file or directory scan dir
didn't
open dir [informatika]
is_msdfs_link_read_target: informatika/desktop.ini does not exist.
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: Redirecting domainc02\dfs\informatika\desktop.ini because
parent informatika is dfs link
dfs_redirect: Redirecting domainc02\dfs\informatika\desktop.ini
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika\desktop.ini with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika\desktop.ini
utf16-length: 76
Requested DFS name: \domainc02\dfs\informatika\desktop.ini length: 76
servername : '\domainc02\dfs\informatika\desktop.ini'
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
smbd_smb2_create: name[domainc02\dfs\informatika\desktop.ini]
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika/desktop.ini
unix_convert called on file "informatika/desktop.ini"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika/desktop.ini, dirpath = , start
informatika/desktop.ini is_mangled informatika/desktop.ini ?
is_mangled_component informatika/desktop.ini (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd8297e3eb0:size b) INFORMATIKA -> informatika
OpenDir: Can't open informatika. No such file or directory scan dir
didn't
open dir [informatika]
is_msdfs_link_read_target: informatika/desktop.ini does not exist.
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: Redirecting domainc02\dfs\informatika\desktop.ini because
parent informatika is dfs link
dfs_redirect: Redirecting domainc02\dfs\informatika\desktop.ini
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika\desktop.ini with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika\desktop.ini
utf16-length: 76
Requested DFS name: \domainc02\dfs\informatika\desktop.ini length: 76
servername : '\domainc02\dfs\informatika\desktop.ini'
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
smbd_smb2_create: name[domainc02\dfs\informatika\desktop.ini]
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika/desktop.ini
unix_convert called on file "informatika/desktop.ini"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika/desktop.ini, dirpath = , start
informatika/desktop.ini is_mangled informatika/desktop.ini ?
is_mangled_component informatika/desktop.ini (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd8297e3eb0:size b) INFORMATIKA -> informatika
OpenDir: Can't open informatika. No such file or directory scan dir
didn't
open dir [informatika]
is_msdfs_link_read_target: informatika/desktop.ini does not exist.
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: Redirecting domainc02\dfs\informatika\desktop.ini because
parent informatika is dfs link
dfs_redirect: Redirecting domainc02\dfs\informatika\desktop.ini
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika\desktop.ini with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika\desktop.ini
utf16-length: 76
Requested DFS name: \domainc02\dfs\informatika\desktop.ini length: 76
servername : '\domainc02\dfs\informatika\desktop.ini'
parse_dfs_path: temp = |domainc02\dfs\informatika\desktop.ini| after
trimming \'s
parse_dfs_path: rest of the path: informatika/desktop.ini
smbd_smb2_create: name[domainc02\dfs\informatika]
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika unix_convert
called on file "informatika"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika, dirpath = , start = informatika
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd8297e3e20:size b) INFORMATIKA -> informatika
stat_cache_add: Added entry (7fd8297e3db0:size b) INFORMATIKA -> informatika
conversion finished informatika -> informatika
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: domainc02\dfs\informatika resolves to a valid dfs link .
dfs_redirect: Redirecting domainc02\dfs\informatika
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika utf16-length: 52
Requested DFS name: \domainc02\dfs\informatika length: 52 servername :
'\domainc02\dfs\informatika'
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
smbd_smb2_create: name[domainc02\dfs\informatika]
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika unix_convert
called on file "informatika"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika, dirpath = , start = informatika
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd8297e3dd0:size b) INFORMATIKA -> informatika
stat_cache_add: Added entry (7fd8297e3d60:size b) INFORMATIKA -> informatika
conversion finished informatika -> informatika
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: domainc02\dfs\informatika resolves to a valid dfs link .
dfs_redirect: Redirecting domainc02\dfs\informatika
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika utf16-length: 52
Requested DFS name: \domainc02\dfs\informatika length: 52 servername :
'\domainc02\dfs\informatika'
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
smbd_smb2_create: name[domainc02\dfs\informatika]
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika unix_convert
called on file "informatika"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika, dirpath = , start = informatika
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd828c69770:size b) INFORMATIKA -> informatika
stat_cache_add: Added entry (7fd828c69700:size b) INFORMATIKA -> informatika
conversion finished informatika -> informatika
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: domainc02\dfs\informatika resolves to a valid dfs link .
dfs_redirect: Redirecting domainc02\dfs\informatika
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika utf16-length: 52
Requested DFS name: \domainc02\dfs\informatika length: 52 servername :
'\domainc02\dfs\informatika'
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
smbd_smb2_create: name[domainc02\dfs\informatika]
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika unix_convert
called on file "informatika"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika, dirpath = , start = informatika
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd829ca6a20:size b) INFORMATIKA -> informatika
stat_cache_add: Added entry (7fd828a2a560:size b) INFORMATIKA -> informatika
conversion finished informatika -> informatika
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: domainc02\dfs\informatika resolves to a valid dfs link .
dfs_redirect: Redirecting domainc02\dfs\informatika
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika utf16-length: 52
Requested DFS name: \domainc02\dfs\informatika length: 52 servername :
'\domainc02\dfs\informatika'
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
smbd_smb2_create: name[domainc02\dfs\informatika]
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika unix_convert
called on file "informatika"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika, dirpath = , start = informatika
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd8297e3dd0:size b) INFORMATIKA -> informatika
stat_cache_add: Added entry (7fd8297e3d60:size b) INFORMATIKA -> informatika
conversion finished informatika -> informatika
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: domainc02\dfs\informatika resolves to a valid dfs link .
dfs_redirect: Redirecting domainc02\dfs\informatika
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika utf16-length: 52
Requested DFS name: \domainc02\dfs\informatika length: 52 servername :
'\domainc02\dfs\informatika'
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
smbd_smb2_create: name[domainc02\dfs\informatika]
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika
dfs_path_lookup: Conn path = /home/dfs reqpath = informatika unix_convert
called on file "informatika"
stat_cache_lookup: lookup succeeded for name [INFORMATIKA] -> [informatika]
unix_convert begin: name = informatika, dirpath = , start = informatika
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
is_mangled informatika ?
is_mangled_component informatika (len 11) ?
stat_cache_add: Added entry (7fd8297e3dd0:size b) INFORMATIKA -> informatika
stat_cache_add: Added entry (7fd8297e3d60:size b) INFORMATIKA -> informatika
conversion finished informatika -> informatika
is_msdfs_link_internal: informatika -> msdfs:
dfs_path_lookup: domainc02\dfs\informatika resolves to a valid dfs link .
dfs_redirect: Redirecting domainc02\dfs\informatika
filename_convert_internal: resolve_dfspath failed for name
domainc02\dfs\informatika with NT_STATUS_PATH_NOT_COVERED
dfs_samba4: Requested DFS name: \domainc02\dfs\informatika utf16-length: 52
Requested DFS name: \domainc02\dfs\informatika length: 52 servername :
'\domainc02\dfs\informatika'
parse_dfs_path: temp = |domainc02\dfs\informatika| after trimming \'s
parse_dfs_path: rest of the path: informatika Any idea why isn't work as a
domain user?
--
Regards:
Robert
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba