Jail + windows share (cifs)

GabrieleMax

Dabbler
Joined
Mar 25, 2023
Messages
15
Hi guys,

I need to mount a windows share on a Windows server 2022, on Debian Bullseye I did it by CIFS but I don't know how could I do it in a Jail inside the TrueNAS Core :\

I tried:
Code:
mount -t cifs -o username=<myUsername>,domain=<myDomain> //XXX.XXX.XXX.XXX/Share /media/Share


I had:
mount //XXX.XXX.XXX.XXX/Share: Operation non permitted

I also tried mount_smbfs but also this doesn't work...

I had:
mount_smbfs: kldload(smbfs): Operation non permitted

Thanks!
GabrieleMax
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
By default, you aren't allowed to mount additional filesystems to a jail. You can allow it, though, by checking the box for allow_mount under the jail properties.
 
Top