![]() |
|
|||||||
| FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
I think you should first figure out how to mount your share correctly inside your main host and be able to write to it using the user you want - then try to make it work from inside a jail, which should not be any different afaik.
When you mount manually from inside the main host, maybe try this way, i have no test system right now but it might help: Code:
mount_smbfs //FREENAS/SHARENAME /mnt -o username=USERNAME,password='PASSWORD',domain=DOMAIN_IF_ANY,iocharset=utf8,ro Last edited by Overrider; 2nd April 2013 at 03:23 PM. Reason: mispelled mount_smbfs |
|
||||
|
I figured out how to mount it in the host: create a new user with the same (G)UID and username on the host, mount and assign the proper permissions. I can then write to the share. But there probably is a better way to do that.
|
|
|||
|
Why not do it the same way in the jail? If it works in the Host, why not in the Jail, assuming that the jail contains the needed programs etc.
|
|
||||
|
It does work inside the jail, but the problem is that i have to manually mount the shares every time i reboot the server. And since this is a virtual machine on my personal testbed, that happens quite often
![]() ps. i thought this forum was dead.. Last edited by Eend; 3rd April 2013 at 06:23 PM. Reason: Clarification |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can FAT32 partition be writable by ordinary user ? | sw2wolf | OpenBSD General | 5 | 24th March 2012 02:15 PM |
| Dennis Ritchie: the other man inside your iPhone | J65nko | News | 2 | 16th October 2011 09:56 PM |
| Misc. BSD/UNIX Inside Mac OS X 10.7 Lion Server: Apple replaces Samba for Windows networking service | J65nko | News | 0 | 24th March 2011 07:06 PM |
| pkg inside non-global zone? | nacredata | Solaris | 2 | 30th September 2008 11:50 PM |
| no internet connection inside jail...? | bgobs | FreeBSD General | 11 | 17th June 2008 04:36 PM |