Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: rockinmyshoe on January 14, 2014, 06:30:06 AM
-
I'm trying to enable DAV on a SME8 server. I configured two ibays one called box one called spits. The commands I found to enable DAV are;
db accounts setprop ibay-name ModDav enabled
signal-event ibay-modify ibay-name
with name in the 'ibay-name' statement do i substitute the name of the ibay I created? 'ibay-box'
so is the command is updated as follows;
db accounts setprop ibay-box ModDav enabled
signal-event ibay-modify ibay-box
-
rockinmyshoe
ibay-name is the actual name of the ibay ie box or spits, so do
db accounts setprop box ModDav enabled
signal-event ibay-modify box
and
db accounts setprop spits ModDav enabled
signal-event ibay-modify spits
I suggest you read
http://wiki.contribs.org/Db_command_tutorial
&
http://wiki.contribs.org/DB_Variables_Configuration
& learn more about the db command & syntax, which will be very useful knowledge to have as you use sme server.
-
thanks Janet,
I'm impressed with the extensive information on the wiki. Will look at the links you provided.
Once I have enabled the DAV, to login is it http://localhost/webdav/ ? .
I noted one example from the wiki shows http://localhost/data/ is that the equivalent? Or should i also be replacing /data/ with the name of the ibay used, i.e. box or spitz
-
Once I have enabled the DAV, to login is it http://localhost/webdav/ ? .
I noted one example from the wiki shows http://localhost/data/ is that the equivalent? Or should i also be replacing /data/ with the name of the ibay used, i.e. box or spitz
Use the iBay name, eg if you create an ibay named "MyiBayName" you woulkd use http://localhost/MyiBayName/
-
You might want to look at this contrib as it has more flexability than the standard iBays, including the ability to enable or disable Wedav per folder Shared Folders (http://wiki.contribs.org/SharedFolders)
-
Thanks Terry
I took a look at Shared Folders, Installed the contibs and it works. I'll try that to see if it fits my needs.
I did notice this (note below) in the documentation. I know a very little about linux/sme, but I did not know how check the file system as shown. Also I did a, man stab-sync and it replied that no manual existed for that command.
Check your file system mounted in /home/e-smith/files/ has the acl option, for example:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 usrquota,grpquota,acl 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-rd/c0d0p3 swap swap defaults 0 0
-
Thanks Terry
I took a look at Shared Folders, Installed the contibs and it works. I'll try that to see if it fits my needs.
I did notice this (note below) in the documentation. I know a very little about linux/sme, but I did not know how check the file system as shown. Also I did a, man stab-sync and it replied that no manual existed for that command.
What that snippet is refering to is the /etc/fstab file may have to be edited manually to ensure that the acl option is added, this would normally only be necessary if if you have mounted another file system on /home/e-smith/files/
The following commad will show what you have..once the contrib is installed and you have restarted etc all should be good :-)
[root@sme ~]# mount
By the way cortesty mister wikipedia, (only as reliable as you want it to be ie don't trust it to much) An access control list (ACL), with respect to a computer file system, is a list of permissions attached to an object. An ACL specifies which users or system processes are granted access to objects, as well as what operations are allowed on given objects.[1] Each entry in a typical ACL specifies a subject and an operation. For instance, if a file has an ACL that contains (Alice, delete), this would give Alice permission to delete the file.