Koozali.org: home of the SME Server

Change iBay Mapping to use Network Share/Folder

Offline Mirfster

  • *
  • 62
  • +0/-0
Change iBay Mapping to use Network Share/Folder
« on: November 08, 2015, 02:25:10 PM »
Hello all,

I have done a little digging and have not seen anything in the regarding changing an iBay to use a Network Folder/Share instead of the one created locally on the SME Server (http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14).

In a nutshell, this is a continuation of a design to use SME Server 9.x and leverage FreeNas.  Since I have FreeNas successfully leveraging accounts from SME (NT4 Style Domain) and Workstations are able to successfully join the SME Domain things are coming together nicely.

I understand I can simply update/modify a logon script to simply have the FreeNas shares mapped (which may be done for some folders), but I am wanting to take it a step further.  Since FreeNas has the ability to enable "Shadow Copy Support", I wanted to investigate if it is possible to redirect/change their home/user directory to use one that is housed on the FreeNas Server?  Initially I am checking to see if this is even possible, eventually I will try to see if I can automate the process and perhaps extend it out for other iBays that have Groups.

Thanks for any info you can provide

guest22

Re: Change iBay Mapping to use Network Share/Folder
« Reply #1 on: November 08, 2015, 03:44:42 PM »
Maybe the Sharedfolders Contrib provides more flexibility for your requirements.

http://wiki.contribs.org/SharedFolders

and even Webapps-common on top of that...

http://wiki.contribs.org/Webapps-common



Offline Mirfster

  • *
  • 62
  • +0/-0
Re: Change iBay Mapping to use Network Share/Folder
« Reply #2 on: November 08, 2015, 04:27:41 PM »
Thanks, I will look into those links.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Change iBay Mapping to use Network Share/Folder
« Reply #3 on: November 08, 2015, 05:53:10 PM »
you can't, IIRC, share an external mounted dir..

IMO if you really want to use external storage for SME you'd use a SAN, not a NAS..

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Change iBay Mapping to use Network Share/Folder
« Reply #4 on: November 08, 2015, 05:56:01 PM »
These instructions describe a method (from SME 7.x) to mount an SMB network share into a folder within an iBay:
http://wiki.contribs.org/Mount_Network_Shares

I don't think you can use these instructions to 'mount' an entire ibay without customizing some of the apache settings.

I currently use Owncloud for re-sharing network shares (but I moved it from SME to Ubuntu to get easier access to current versions of php, mysql, and apache).

Offline Mirfster

  • *
  • 62
  • +0/-0
Re: Change iBay Mapping to use Network Share/Folder
« Reply #5 on: November 14, 2015, 04:45:02 PM »
Read the article, but ended up being concerned when they mentioned:

Quote
Notes and Warnings

    The method described gives access to //nas01/share1 and //nas01/share2 using the username and password placed into /root/.passwd/nas01. Once successfully mounted, this means that anyone who can browse to the info ibay will be able to access your data. Make sure this is what you want!

Am looking into this article (but would prefer to use CIFs instead of HFS): http://blog.shriketech.com/2010/01/moving-sme-server-user-data-to-nas-nfs.html

As well this: http://wiki.contribs.org/SharedFolders

Offline Mirfster

  • *
  • 62
  • +0/-0
Re: Change iBay Mapping to use Network Share/Folder
« Reply #6 on: November 14, 2015, 04:46:40 PM »
Opps forgot to mention that RequestedDeletion lead me to the SharedFolders Contrib.  :)
« Last Edit: November 14, 2015, 09:39:42 PM by Mirfster »