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@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@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
On Jan 7, 2008 10:29 AM, Yan Seiner <yan@seiner.com> wrote:> 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@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@Lethe:/etc/samba# >xyz should be a folder and inside this folder you put the msdfs link. John