[Samba] msdfs problem

Yan Seiner yan at seiner.com
Mon Jan 7 15:29:46 GMT 2008


I think I've set up my msdfs correctly, but I keep getting the following 
message when I try to connect to it:

[2008/01/07 05:00:45, 0] smbd/service.c:make_connection_snum(1003)
  '/etc/samba/xyz' does not exist or permission denied when connecting 
to [beaufort] Error was No such file or directory

I have kahn in both hosts and lmhosts.

Any suggestions on what I am doing wrong?

root at Lethe:/etc/samba# ls -l
-rw-r--r--    1 root     root           14 Jan  7 01:38 lmhosts
-rw-------    1 root     root         8192 Jan  6 00:36 secrets.tdb
-rw-r--r--    1 root     root         1033 Jan  7 05:00 smb.conf
-rw-------    1 root     root          103 Jan  7 04:55 smbpasswd
drwxr-xr-x    1 root     root            0 Jan  7 02:08 x
lrwxrwxrwx    1 root     root           15 Jan  7 04:10 xyz -> 
msdfs:kahn\data
root at Lethe:/etc/samba#


#======================= Global Settings 
=====================================
[global]
 syslog = 0
 syslog only = yes
 wins support = yes
# wins server = 10.8.0.1
 dns proxy = yes
 workgroup = tnddc.lan
 server string = VPN Server %h
 max log size = 50
 security = user
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
 guest account = nobody
 local master = yes
 domain master = yes
 name resolve order = lmhosts hosts wins bcast
 log file = /var/log/samba/log.smbd
# hosts allow = 127. 192.168.
 interfaces = 192.168.128.0/24 10.8.0.0/255.255.255.0
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#============================ Share Definitions 
==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
host msdfs = yes

[tmp]
 comment = /tmp
 path = /tmp
 browseable = yes
 public = yes
 only guest = no
 writeable = no
 printable = no
 
[beaufort]
    path = /etc/samba/xyz
    msdfs root = true
    guest ok = yes



More information about the samba mailing list