I have patched apache source rpm from SuSE and rebuild the rpm, installed apache.
./configure the mod_dav_acl make, make install
It's compiled without errors.
This is my config file:
Alias /principals "/srv/www/principals/"
Alias /acltests "/srv/www/acltests/"
# GLOBALS but can of course be local as well
AclOwnerFullRights on
AclLockFile /srv/tmp/davacl.lock
AclSharedMemFile /srv/tmp/davacl.shm
AclSharedMemSize 65000
AclPrincipals http://localhost/principals
AclPrincipalDir /srv/www/principals
I've created with htdigest the users joe joppe admin with realm testing and password password.
If i run the ./acl_tests I get this
1 / Create a principal collection 100.7 ms
Error rc:405
2 / propfind principal 3.8 ms
Error rc:405
3 / set ACL 3.5 ms
Error rc:405
4 / Create a principal 3.5 ms
Error rc:405
5 / read a principal 12.8 ms
Error rc:404
6 / propfind principal 1.4 ms
Error rc:405
7 / set ACL 1.4 ms
Error rc:405
8 / Create a principal 1.4 ms
Error rc:405
9 / Create a principal with an ETag 3.2 ms
10 / Create a principal, repeat precondition error 1.5 ms
Error rc:405
11 / Create a principal 1.4 ms
Error rc:405
12 / Create a group 1.3 ms
Error rc:405
13 / set ACL 1.4 ms
Error rc:405
14 / Add groups 1.4 ms
Error rc:405
15 / Update groups 1.4 ms
Error rc:405
16 / Set displayname property 1.4 ms
Error rc:405
17 / Set displayname property 1.4 ms
Error rc:405
18 / Principal prop set 1.3 ms
Error rc:405
19 / propfind principal 1.4 ms
Error rc:405
20 / Search a principal 1.3 ms
Error rc:405
21 / Search a principal, different uid 1.4 ms
Error rc:405
22 / Update groups 1.4 ms
Error rc:405
23 / Create a principal collection 1.4 ms
Error rc:405
24 / Create a principal 1.3 ms
Error rc:405
25 / Put a test file 1.4 ms
Error rc:405
26 / set ACL 1.4 ms
Error rc:405
27 / propfind joppe 1.3 ms
Error rc:405
28 / Delete a resource 1.3 ms
Error rc:405
29 / Delete joppe principal 1.4 ms
Error rc:405
30 / Delete joe principal 1.3 ms
Error rc:405
************************************
* Summary: 0/30 tests passed
************************************
Is there something wrong ? We guess the problem is the dir aclprincipalsdir
Thanks in advance.
Dieter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have patched apache source rpm from SuSE and rebuild the rpm, installed apache.
./configure the mod_dav_acl make, make install
It's compiled without errors.
This is my config file:
<IfModule mod_dav_fs.c>
DavLockDB /var/lib/apache2/DAVLock
</IfModule>
<IfModule mod_dav.c>
<IfModule mod_dav_fs.c>
# un-comment with fedora
#LoadModule dav_acl_module modules/mod_dav_acl.so
<IfModule mod-dav-acl.c>
Alias /principals "/srv/www/principals/"
Alias /acltests "/srv/www/acltests/"
# GLOBALS but can of course be local as well
AclOwnerFullRights on
AclLockFile /srv/tmp/davacl.lock
AclSharedMemFile /srv/tmp/davacl.shm
AclSharedMemSize 65000
AclPrincipals http://localhost/principals
AclPrincipalDir /srv/www/principals
<Location /principals>
Dav on
Options None
AuthType Digest
AuthDigestDomain = /testing/
AuthName "testing"
AuthUserFile /srv/www/passwords
Require valid-user
AuthDigestProvider file
FileETag MTime
DAVACL on
Order deny,allow
Deny from all
Satisfy any
</Location>
<Location /acltests>
Dav on
AuthType Digest
AuthName "testing"
AuthUserFile /srv/www/passwords
Require valid-user
AuthDigestProvider file
FileETag MTime
DAVETagResponse on
DAVACL on
</Location>
</IfModule>
</IfModule>
</IfModule>
I've created with htdigest the users joe joppe admin with realm testing and password password.
If i run the ./acl_tests I get this
1 / Create a principal collection 100.7 ms
Error rc:405
2 / propfind principal 3.8 ms
Error rc:405
3 / set ACL 3.5 ms
Error rc:405
4 / Create a principal 3.5 ms
Error rc:405
5 / read a principal 12.8 ms
Error rc:404
6 / propfind principal 1.4 ms
Error rc:405
7 / set ACL 1.4 ms
Error rc:405
8 / Create a principal 1.4 ms
Error rc:405
9 / Create a principal with an ETag 3.2 ms
10 / Create a principal, repeat precondition error 1.5 ms
Error rc:405
11 / Create a principal 1.4 ms
Error rc:405
12 / Create a group 1.3 ms
Error rc:405
13 / set ACL 1.4 ms
Error rc:405
14 / Add groups 1.4 ms
Error rc:405
15 / Update groups 1.4 ms
Error rc:405
16 / Set displayname property 1.4 ms
Error rc:405
17 / Set displayname property 1.4 ms
Error rc:405
18 / Principal prop set 1.3 ms
Error rc:405
19 / propfind principal 1.4 ms
Error rc:405
20 / Search a principal 1.3 ms
Error rc:405
21 / Search a principal, different uid 1.4 ms
Error rc:405
22 / Update groups 1.4 ms
Error rc:405
23 / Create a principal collection 1.4 ms
Error rc:405
24 / Create a principal 1.3 ms
Error rc:405
25 / Put a test file 1.4 ms
Error rc:405
26 / set ACL 1.4 ms
Error rc:405
27 / propfind joppe 1.3 ms
Error rc:405
28 / Delete a resource 1.3 ms
Error rc:405
29 / Delete joppe principal 1.4 ms
Error rc:405
30 / Delete joe principal 1.3 ms
Error rc:405
************************************
* Summary: 0/30 tests passed
************************************
Is there something wrong ? We guess the problem is the dir aclprincipalsdir
Thanks in advance.
Dieter