Im trying to test this feature but i have an issue

I put this on the Domain.xml file
<auto-create-users>true</auto-create-users>
<auto-create-users-role>org.apache.slide.structure.SubjectNode</auto-create-users-role>

then i log as through JDBC Realm, where as i see the user must already have a 
role, so 
the "auto" property only works to make it pesistent in slide right ??

The problem is that if i log as root everything works fine (i leave the xml 
tags on the domain.xml, 
but the authentication is correctly taking the jdbc info), i locate the files 
directory and create a new one
"test".  Then in another window i log as "lolo" enter the files/test dir but i 
cant see anything even forcing full 
permissions i only get a null on the command line (btw im using the command 
line client). When i go back to the root
terminal it seems that everything is corrupted, i cant read anything and the 
log file says "forbidden"

http-8080-Processor24, 21-Jun-2005 12:39:05, root, PROPFIND, 207 
"Multi-Status", 544 ms, /files
http-8080-Processor24, 21-Jun-2005 12:39:08, root, PROPFIND, 207 
"Multi-Status", 104 ms, /files/
http-8080-Processor24, 21-Jun-2005 12:39:08, root, PROPFIND, 207 
"Multi-Status", 60 ms, /files/
http-8080-Processor24, 21-Jun-2005 12:39:12, root, MKCOL, 201 "Created", 167 
ms, /files/test
http-8080-Processor23, 21-Jun-2005 12:39:41, root, PROPFIND, 207 
"Multi-Status", 123 ms, /files/test
http-8080-Processor24, 21-Jun-2005 12:40:40, root, PROPFIND, 207 
"Multi-Status", 112 ms, /files/test
http-8080-Processor24, 21-Jun-2005 12:40:40, root, ACL, 200 "OK", 81 ms, 
/files/test
http-8080-Processor24, 21-Jun-2005 12:40:45, root, PROPFIND, 207 
"Multi-Status", 85 ms, /roles/
http-8080-Processor24, 21-Jun-2005 12:40:45, root, PROPFIND, 207 
"Multi-Status", 233 ms, /roles/
http-8080-Processor24, 21-Jun-2005 12:40:47, root, PROPFIND, 207 
"Multi-Status", 49 ms, /files/
http-8080-Processor24, 21-Jun-2005 12:40:47, root, PROPFIND, 207 
"Multi-Status", 137 ms, /files/
http-8080-Processor24, 21-Jun-2005 12:40:49, root, PROPFIND, 207 
"Multi-Status", 103 ms, /files/test
http-8080-Processor24, 21-Jun-2005 12:41:13, lolo, PROPFIND, 207 
"Multi-Status", 262 ms, /files/test
http-8080-Processor24, 21-Jun-2005 12:41:15, lolo, PROPFIND, 403 "Forbidden", 
26 ms, /files/test/
http-8080-Processor25, 21-Jun-2005 12:41:23, root, PROPFIND, 403 "Forbidden", 
24 ms, /files/
http-8080-Processor22, 21-Jun-2005 12:51:35, root, PROPFIND, 403 "Forbidden", 
27 ms, /files/

Then i restart the tomcat, and when is back the root can see the files and 
roles directories but not the 
users so, it is still corrupted

http-8080-Processor23, 21-Jun-2005 13:12:36, root, PROPFIND, 207 
"Multi-Status", 170 ms, /files/test
http-8080-Processor23, 21-Jun-2005 13:12:43, root, PROPFIND, 207 
"Multi-Status", 189 ms, /users/
http-8080-Processor23, 21-Jun-2005 13:12:43, root, PROPFIND, 404 "Not Found", 
73 ms, /users/
http-8080-Processor23, 21-Jun-2005 13:12:50, root, PROPFIND, 207 
"Multi-Status", 102 ms, /roles/
http-8080-Processor23, 21-Jun-2005 13:12:50, root, PROPFIND, 207 
"Multi-Status", 221 ms, /roles/

digging in the xml files the "lolo" user was successfully created "...<child 
name="lolo" uuri="/users/lolo" />..."
 after that, some trouble ocurrs and everything crash.

I think this option is a luxury, because in fact i can create as many /users/.. 
collections as users are on my database/ldap 
but the roles are really annoying because i need to do appends in the 
"group-member-set" mega-string.


thank you and best regards.

Carlos



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to