Theo:

You could try experimenting w/ the following options in your [dfs] section.:

map to guest = [ never | bad user | bad password ]
public = yes  (a.k.a. "guest ok = yes" )
guest only = yes
guest account = ftp

Good luck.

-Bill

Theo Kanter wrote:

Please help me understand why I am unable to connect to and browse the
newly configured DFS tree that I installed on my Samba server according
to the instructions found in Chapter 18. "Hosting a Microsoft
Distributed File System Tree" of the official how-to.

Irrespective of whether I try to access the dfs file tree from either
the local file browser (and choosing the SMB tree) or from windows, I
get a login dialog box and I do not understand why this is the case.
Moreover, no userid/password from either the Samba server or the Windows
machine with the share works.

I compiled samba (version 3.0.21b) with the option --with-msdfs. Below I
include smb.conf and fstab, showing how the share gets mounted via
smbfs, as well as an 'ls' showing the access rights and ownership of the
directory. The remote share on the Windows machine grants read access to
everyone.

Thanks for your help in advance,
Theo


--- smb.conf ---
[global]
       dos charset = ISO-8859-1
       unix charset = ISO-8859-1
       display charset = ISO-8859-1
       workgroup = VERKSTAD
       server string = Kanter Samba Server
       interfaces = eth0, 192.168.0.100/24
       security = SHARE
       encrypt passwords = No
       guest account = theo
       log file = /var/log/samba/log.%m
       max log size = 50
       socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
SO_SNDBUF=8192
       printcap name = cups
       os level = 33
       dns proxy = No
       wins support = Yes
       host msdfs = Yes
       hosts allow = 192.168.0., 127.0.0.1

[dfs]
       comment = DFS Share
       path = /export/dfsroot
       msdfs root = Yes


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to