Hello. Here's my situation. server A has files I need on server C, but server A is in a PCI zone, so I can't directly connect server C to server A. Ok, I'll share the files from server A to server B, then access server B from server C. I tried this using nfs, but found out that this was a nfs re-export issue that isn't really kosher. So I tried exporting via cifs from server A to server B, but I'm unable to do so. I'm getting error 13 permission denied going from server B to server A. It should be noted that server B is currently serving a share for server A. Sorry about the confusion.
from server B:
sudo mount -t cifs -vvv //serverA/835 /mnt/835 -o username=user,password=******
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "//serverA/835"
mount: node: "/mnt/835"
mount: types: "cifs"
mount: opts: "username=****,password=******"
mount: external mount: argv = "/sbin/mount.cifs"
mount: external mount: argv = "//serverA/835"
mount: external mount: argv = "/mnt/835"
mount: external mount: argv = "-v"
mount: external mount: argv = "-o"
mount: external mount: argv = "rw,username=user,password=********"
mount.cifs kernel mount options: ip=192.168.182.16,unc=\\serverA\835,,ver=1,user=user,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
workgroup = domain
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = No
idmap gid = 10000-20000
idmap uid = 10000-20000
kerberos method = secrets and keytab
realm = domain.com
security = ADS
hosts allow = 192.168.181.20
template homedir = /home/%D/%U
template shell = /bin/bash
winbind offline logon = yes
winbind refresh tickets = yes
ldap suffix =
wins server =
wins support = No
comment = psheft 835 via serverB
path = /mnt/835
read only = yes
writeable = no
create mask = 0666
force user = user
Any help you can give would be appreciated. Thanks.
root = administrator admin
;nobody = guest pcguest smbguest