Koozali.org: home of the SME Server

SME 8 - SharedFolders and AddExtraDrive question

Offline shriddx

  • ***
  • 44
  • +0/-0
SME 8 - SharedFolders and AddExtraDrive question
« on: December 12, 2010, 09:55:30 PM »
Installing a new drive in my server tomorrow morning and thinking of installing SME 8 - BUT I need to be able to install and run the SharedFolders contrib and may also install additional drives using the AddExtraDrives instructions (the ones that add drive space by using LVM - I have no need for a RAID set up).

The question is has anyone used the SharedFolders contrib and/or set up extra drive space using the docs supplied for SME 7 but on SME 8, please? And, if so, were there any issues raised in doing so?

Thanks!


Offline shriddx

  • ***
  • 44
  • +0/-0
Re: SME 8 - SharedFolders and AddExtraDrive question
« Reply #1 on: December 13, 2010, 08:38:43 AM »
Oh well, it seems not...

Going to do it now anyway - see how it pans out.....

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: SME 8 - SharedFolders and AddExtraDrive question
« Reply #2 on: December 13, 2010, 07:40:07 PM »
Installing a new drive in my server tomorrow morning and thinking of installing SME 8 ...

Be aware that there is no SME8; there is only SME8 beta. SME8 beta exists only so that you can test it and report whatever problems you find.

Offline shriddx

  • ***
  • 44
  • +0/-0
Re: SME 8 - SharedFolders and AddExtraDrive question
« Reply #3 on: December 14, 2010, 09:15:24 AM »
Yes, Charlie - I did realise the 'beta' status of SME8 but as a friend had had it installed as his server for yonks (pre-beta 6) and he was happy with it from what I gathered I thought I'd try it now.

However, after battling away on 3 motherboards, numerous processors and with various video cards - all of which came BEFORE the SME installation - I discovered a faulty power supply!

Anyway, once the hardware problem was resolved I installed SME 8 (beta 6) and it installed fine and all seemed to run well.... BUT no joy with the Shared Folders contrib - comes up with a failed dependancy for 'sme-server.mod-dev' - and attempts to resolve this were not fruitful (possibly of my total lack of Linux knowledge - tried 'yum install sme-server.mod-dev' and similar but no such thing was being located in the repositories(?)).

Anyway, installed SME 7.5.1 again now... but not really wasted work as I upgraded the motherboard, processor and hard drive as part of the day's work/fixes. And Shared Folders works perfectly again.

I do need to have ACL accesses though - anyone know if work in that field is being conducted in SME 8?
I did report this on bugzilla many many months ago in respect of SME 7 (which led me to the Shared Folders as mentioned by someone then) and someone said something about this was something that could be looked at (built in) in the SME 8 build..... but doesn't seem to be incorporated in the current beta....? Otherwise, unless something can be done, it looks like staying at 7.5.1 into the foreseeable future.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: SME 8 - SharedFolders and AddExtraDrive question
« Reply #4 on: December 14, 2010, 09:29:10 AM »
The shared-folders contribs works on SME8, you just need to configure and use the sme7contribs repository, like explained here: http://wiki.contribs.org/SME8.0_Contribs_QA#Setup.

Then, you'll just have to type
Code: [Select]
yum --enablerepo=sme7contribs install smeserver-shared-folders
Regards, Daniel
C'est la fin du monde !!! :lol:

Offline shriddx

  • ***
  • 44
  • +0/-0
Re: SME 8 - SharedFolders and AddExtraDrive question
« Reply #5 on: December 15, 2010, 12:48:00 PM »
Aaahhh... thanks, Daniel!

I'll note that info for the future...

Already gone back to 7.5.1 and in the middle of a 3-day resetup of all the client PCs due to the use of the new server set up.

All original info on server lost so needed all PCs to be re-registered - and so a lot of stuff missing and PC software crashes left, right, and centre...

So obviously don't want to have to redo all that again!!!

Offline festus

  • ***
  • 43
  • +0/-0
Shared Folder in sme 7.5.1: unable to access with webDAV
« Reply #6 on: January 17, 2011, 04:14:57 AM »
Hi Daniel,

Thanks for the very useful module you have developed.
I have followed the instructions as found in the wiki page and installed 'SharedFolders' in SME 7.5.1
------------------------------------------------------------------------------------------------
I have configured the following in the sme control panel & enabled webDAV:

Shared folder name = share00
Description = Public Share
Permissions = group00

SMB Access = Enabled, browseable
Recycle bin = disabled / Enabled, keep only the latest version
Retention time = unlimited

Web Access = Entire Internet (password required)
WebDav support = enabled
Force secure connections = enabled
Indexes = enabled
Dynamic ocntent execution (PHP,CGI,SSI) = disabled
-----------------------------------------------------------------------------------------------------------------
I have configured a VPN user account at the SME server, connected through VPN
to the 192.168.65.1 network and successfully able to create a 'windows share' to the
shared folder located at /home/e-smith/files/shares from a Ubuntu desktop.

By default, when I login with the userid/pw, the directory displays the following folders
'primary' 'print$' and 'share00', 'share01'
where 'share00' and 'share01' are sub-folders i have created in 'shares' with
various group access rights..

My first question is:
----------------------
what should i configure, if I do not want to display 'primary' and 'print$', but only the
share folder and sub-folders ?

----------------------------------------------------------------------------------------------------------------
If I choose the option to connect using 'webDEV(HTTP)' or 'webDEV(HTTPS)' I am NOT able to connect
I get the following error message:

Cannot display location "dav://192.168.65.88/"
Not a WebDAV enabled share


* I checked to see if modDAV is installed and got the following status.
     #db configuration show
     #modDAV=service
     status=enabled

* fstab entry displays the following:
     [root@server ~]# mount
     /dev/mapper/main-root on / type ext3 (rw,usrquota,grpquota,acl)
     none on /proc type proc (rw)
     none on /sys type sysfs (rw)
     none on /dev/pts type devpts (rw,gid=5,mode=620)
     usbfs on /proc/bus/usb type usbfs (rw)
     /dev/md1 on /boot type ext3 (rw)
     none on /dev/shm type tmpfs (rw)
     none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
     [root@server ~]#

My second question:

What is missing in my configuration ?

Appreciate your advise.

Best Regards,

Festus

« Last Edit: January 17, 2011, 04:16:42 AM by festus »

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Shared Folder in sme 7.5.1: unable to access with webDAV
« Reply #7 on: January 17, 2011, 08:51:15 AM »

----------------------
what should i configure, if I do not want to display 'primary' and 'print$', but only the
share folder and sub-folders ?


For the Primary ibay, as explaines here: http://wiki.contribs.org/DB_Variables_Configuration#Samba_per_i-bay_settings_.28smbd.29, you can configure samba not to display it:

Code: [Select]
db accounts setprop Primary Browseable disabled
signal-event ibay-modify Primary

For the print$, you'll probably need to write some custom-templates

If I choose the option to connect using 'webDEV(HTTP)' or 'webDEV(HTTPS)' I am NOT able to connect
I get the following error message:

Cannot display location "dav://192.168.65.88/"
Not a WebDAV enabled share


If you wan't to access a shared folders using webdav, you need to point your webdav client to the exact location of this particular share: dav://192.168.65.68/share00

Regards, Daniel

C'est la fin du monde !!! :lol:

Offline festus

  • ***
  • 43
  • +0/-0
Re: SME 8 - SharedFolders and AddExtraDrive question
« Reply #8 on: January 17, 2011, 11:03:17 AM »
Dear Daniel,

Thanks a lot for the prompt clarification.
Since I had configured in the control panel for webDAV(https), I had to key in the format:

192.168.65.88:443/share00

and I am able to successfully access.
Excellent Job!

Best Regards,
Festus