This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Not mount share folder cifs and nfs - Permission denied

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
impuls
NewUser
NewUser
Posts: 2
Joined: 03 Feb 2016 12:44
Status: Offline

Not mount share folder cifs and nfs - Permission denied

Post by impuls »

I installed NAS4Free 10.2.0.2 - Prester
The NAS4Free is located on a local area network with IP=10.2.13.13
I have one HDD: UFS and share folder /mnt/Atchive

I started and configured CIFS/SMB

Code: Select all

Authentication: Local User
Max Protocol: SMB2
Guest account: arch
Map to guest: Bad User - non existings users
Asynchronous I/O (AIO): Enable
I started and configured NFS

Code: Select all

Number of servers: 4
Enable NFSv4 server
/etc/rc.conf

Code: Select all

dmesg_enable="YES"
lighttpd_enable="YES"
syslogd_enable="YES"
syslogd_flags="-8 -s"
msntp_enable="YES"
firewall_type="CLIENT"
firewall_script_auxrules="/etc/rc.firewall.auxrules"
msmtp_config="/var/etc/msmtp.conf"
msmtp_msgfile="/tmp/message"
static_routes=""
LCDd_enable="NO"
autosnapshot_enable="YES"
fuppes_enable="NO"
fusefs_enable="NO"
hastd_enable="NO"
hostapd_enable="NO"
inadyn_enable="NO"
firewall_enable="NO"
iscsi_initiator_enable="NO"
istgt_enable="NO"
lcdproc_enable="NO"
minidlna_enable="NO"
mtdaapd_enable="NO"
netatalk_enable="NO"
nut_enable="NO"
nut_upslog_enable="NO"
nut_upsmon_enable="NO"
powerd_enable="NO"
proftpd_enable="NO"
rsyncd_enable="NO"
samba_enable="YES"
smartd_enable="NO"
sshd_enable="YES"
swap_enable="NO"
syncthing_enable="NO"
tftpd_enable="NO"
transmission_enable="NO"
unison_enable="NO"
vbox_enable="NO"
websrv_enable="NO"
websrv_htpasswd_enable="NO"
wpa_supplicant_enable="NO"
zfs_enable="NO"
varmfs="YES"
varmfs_flags="-U -t -o noatime -m 2"
populate_var="YES"
hostname="nas4free.local"
firewall_client_net="10.2.13.13/23"
ifconfig_nfe0="inet 10.2.13.13/23 -wol"
cloned_interfaces=""
ipv6_activate_all_interfaces="NO"
powerd_flags="-a hiadaptive -b hiadaptive -n hiadaptive"
varsize="512m"
vartmpsize="256m"
fuppes_logfile="/var/log/fuppes.log"
mtdaapd_logfile="/var/log/mt-daapd.log"
rsync_client_logfile="/var/log/rsync_client.log"
rsync_local_logfile="/var/log/rsync_local.log"
blanktime="300"
saver=""
ntpdate_enable="NO"
bsnmpd_enable="NO"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
rpcbind_enable="YES"
mountd_enable="YES"
rpc_statd_enable="YES"
rpc_lockd_enable="YES"
nfs_server_enable="YES"
mdnsresponder_enable="YES"
/etc/exports

Code: Select all

/mnt/Archive -alldirs -mapall=root -network 10.2.13.0 -mask 255.255.254.0
Not problem
1. I can connect to the shared folder \\NAS4Free\Archive from Windows XP and Windows Serves 2008.
Local user - arch
Nas4free1.GIF
Problem
2. Bat I can not mount to the same shared folder /mnt/Archive from Fedora 15 or Fedora 23 using the CIFS protocol
# mount -t cifs -v //10.2.13.13/Archive /media/archive/ -o username=arch,password=..........
mount.cifs kernel mount options: ip=10.2.13.13,unc=\\10.2.13.13\Archive,,ver=1,user=arch,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

3. And I can not mount to the shared folder /mnt/Archive from Fedora 15 or Fedora 23 using the NFS protocol
# mount -v -t nfs -o vers=4 10.2.13.13:/mnt/Archive /media/archive -o nolock
mount.nfs: timeout set for Thu Feb 4 15:12:52 2016
mount.nfs: trying text-based options 'vers=4,nolock,addr=10.2.13.13,clientaddr=10.2.13.171'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 10.2.13.13:/mnt/Archive
# showmount -e 10.2.13.13
Export list for 10.2.13.13:
/mnt/Archive 10.2.13.0

What's the problem? Why Permission denied? Prompt me, please! :?: :?: :?:
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “CIFS/SMB (Samba)”