Difference between revisions of "Talk:Mod dav"

From SME Server
Jump to navigationJump to search
(New page: Text removed from the article: This contrib can be found in the [http://mirror.contribs.org/smeserver/releases/7/smedev/i386/repodata/ SME Dev] repository. To install this contrib get she...)
 
Line 1: Line 1:
 +
I was about to add the following to the article, but there seem to be some problems w/ the ibay support.  (I'm putting this here so I don't lose my work).
 +
 +
Problems:
 +
# the current ibay script does not set any "AuthName", so the ibays fail if you enable WebDav
 +
# The group auth logic doesn't seem to work - it is based on the groups listed in 'db accounts' as groups - so there doesn't seem to be an ''easy'' way to authenticate using the ibay username and password (you have to create an empty group, then assign the ibay to that group using server-manager, which doesn't feel very intuitive to me...)
 +
 +
=== DAV Enabled Ibays ===
 +
smeserver-mod_dav now provides dav-enabled i-bays (at least as of smeserver-mod_dav-0.1-15.el4.sme).
 +
 +
You can enable
 +
 +
{| width="100%" border="1" cellpadding="5" cellspacing="0"
 +
!Command
 +
!Apache Directive
 +
!Effect
 +
!notes
 +
|-
 +
|db accounts setprop ''ibayname'' ModDav enabled
 +
|[[http://httpd.apache.org/docs/2.0/mod/mod_dav.html DAV On]]
 +
|Enable DAV for ''ibayname''.
 +
|If the ModDav property does not exist, or if it has any value other than "enabled", DAV is '''not''' enabled for this ibay.
 +
|-
 +
|db accounts setprop bookmarks ModDav-FileEtag "some values"
 +
|[[http://httpd.apache.org/docs/2.2/mod/core.html#fileetag FileETag]]
 +
|Controls the FileEtag directive for ''ibayname''.
 +
|Read more at http://httpd.apache.org/docs/2.2/mod/core.html#fileetag
 +
|-
 +
|db accounts setprop ''ibayname'' Group ''ibayname''
 +
|[[http://httpd.apache.org/docs/2.2/mod/core.html#require Require-user]]
 +
|Authentication
 +
|If ''groupname'' exists (in the accounts database) and has members, add all current members of the specified group as authorized users.<br>If ''groupname'' has no members (which is the case if you select the ibayname as the group name), set ''ibayname'' as the only authorized user.<br>If this keyword does not exist, then any local SME user can access ''ibayname'' using their own username and password.
 +
|-
 +
|}
 +
 +
[[User:Mmccarn|Mmccarn]] 13:40, 16 September 2008 (UTC)
 +
 +
 
Text removed from the article:
 
Text removed from the article:
  

Revision as of 14:40, 16 September 2008

I was about to add the following to the article, but there seem to be some problems w/ the ibay support. (I'm putting this here so I don't lose my work).

Problems:

  1. the current ibay script does not set any "AuthName", so the ibays fail if you enable WebDav
  2. The group auth logic doesn't seem to work - it is based on the groups listed in 'db accounts' as groups - so there doesn't seem to be an easy way to authenticate using the ibay username and password (you have to create an empty group, then assign the ibay to that group using server-manager, which doesn't feel very intuitive to me...)

DAV Enabled Ibays

smeserver-mod_dav now provides dav-enabled i-bays (at least as of smeserver-mod_dav-0.1-15.el4.sme).

You can enable

Command Apache Directive Effect notes
db accounts setprop ibayname ModDav enabled [DAV On] Enable DAV for ibayname. If the ModDav property does not exist, or if it has any value other than "enabled", DAV is not enabled for this ibay.
db accounts setprop bookmarks ModDav-FileEtag "some values" [FileETag] Controls the FileEtag directive for ibayname. Read more at http://httpd.apache.org/docs/2.2/mod/core.html#fileetag
db accounts setprop ibayname Group ibayname [Require-user] Authentication If groupname exists (in the accounts database) and has members, add all current members of the specified group as authorized users.
If groupname has no members (which is the case if you select the ibayname as the group name), set ibayname as the only authorized user.
If this keyword does not exist, then any local SME user can access ibayname using their own username and password.

Mmccarn 13:40, 16 September 2008 (UTC)


Text removed from the article:

This contrib can be found in the SME Dev repository. To install this contrib get shell access as root user and issue the following command:

yum install smeserver-mod_dav --enablerepo=smedev

Mmccarn 08:05, 20 November 2007 (MST)