You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Paul Hussein <pa...@jrc.it> on 2004/06/17 15:17:40 UTC

Help adding users, access denied when logging in

I am using the tomcat 5.0 M1 Slide on an XP machine.

I have followed as much as I can the instruction about adding a user in
slide.

1. Create collection under /users with name of user
2. Add a field called password in properties of collection set to the
password required.

Then when I try to login using DAV Explorer to
http:/localhost:8080/slide/files using username and password added it says


403 Access to the requested resource has been denied.




Can someone help. Is this an issue of access control to the directory, or
have I got the useradd wrong ?


Cheers

Paul.




---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: Help adding users, access denied when logging in

Posted by Paul Hussein <pa...@jrc.it>.
I have followed these posts as best I can. I have put this namespace value
in, but syill no logon.


Here are the properties of root and my user. I cannot see any difference.
Neither the slide client nor Dav Explorer logs on with my new user.

Can anyone help me ?

Cheers

Paul.


Included below are the debug ouputs of propgetall oon root and my user
compass :

[IIRE52.JRC.IT:/slide/users/] V:\jakarta-slide-webdavclient-bin-2.1M1\bin $
prop
getall compass
Getting properties '/slide/users/compass':
>>>>>>>  to  server  ---------------------------------------------------
PROPFIND /slide/users/compass HTTP/1.1
Authorization: Basic cm9vdDpyb290
Content-Type: text/xml; charset=utf-8
User-Agent: Jakarta Commons-HttpClient/2.0final
Host: iire52.jrc.it:8080
Cookie: $Version=0; JSESSIONID=E58FB8C57FF1EE651D1D2EA9D7402D72;
$Path=/slide
Content-Length: 91
Depth: 0
<D:propfind xmlns:D="DAV:">
   <D:allprop>
   </D:allprop>
</D:propfind>
------------------------------------------------------------------------

<<<<<<< from server  ---------------------------------------------------
HTTP/1.1 207 Multi-Status
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 18 Jun 2004 09:29:27 GMT
Server: Apache-Coyote/1.1
<D:multistatus xmlns:D="DAV:">
   <D:response>
      <D:href>
            /slide/users/compass
      </D:href>
      <D:propstat>
         <D:prop>
            <D:displayname>
                  compass
            </D:displayname>
            <S:password xmlns:S="http://jakarta.apache.org/slide/">
                  compass
            </S:password>
            <D:source>
            </D:source>
            <D:getlastmodified>
                  Fri, 18 Jun 2004 09:13:49 GMT
            </D:getlastmodified>
            <D:getcontentlength>
                  0
            </D:getcontentlength>
            <D:resourcetype>
               <D:collection>
               </D:collection>
               <D:principal>
               </D:principal>
            </D:resourcetype>
            <D:creationdate>
                  2004-06-18T09:13:49Z
            </D:creationdate>
            <D:lockdiscovery>
            </D:lockdiscovery>
            <D:supportedlock>
               <D:lockentry>
                  <D:lockscope>
                     <D:exclusive>
                     </D:exclusive>
                  </D:lockscope>
                  <D:locktype>
                     <D:write>
                     </D:write>
                  </D:locktype>
               </D:lockentry>
               <D:lockentry>
                  <D:lockscope>
                     <D:shared>
                     </D:shared>
                  </D:lockscope>
                  <D:locktype>
                     <D:write>
                     </D:write>
                  </D:locktype>
               </D:lockentry>
            </D:supportedlock>
            <D:modificationdate>
                  2004-06-18T09:15:18Z
            </D:modificationdate>
         </D:prop>
         <D:status>
               HTTP/1.1 200 OK
         </D:status>
      </D:propstat>
   </D:response>
</D:multistatus>
------------------------------------------------------------------------

   D:displayname : compass
   S:password : compass
   D:source :
   D:getlastmodified : Fri, 18 Jun 2004 09:13:49 GMT
   D:getcontentlength : 0
   D:resourcetype : COLLECTION
   D:creationdate : 2004-06-18T09:13:49Z
   D:lockdiscovery :
   D:supportedlock : Exclusive write lock, Shared write lock
   D:modificationdate : 2004-06-18T09:15:18Z
[IIRE52.JRC.IT:/slide/users/] V:\jakarta-slide-webdavclient-bin-2.1M1\bin $
prop
getall root
Getting properties '/slide/users/root':
>>>>>>>  to  server  ---------------------------------------------------
PROPFIND /slide/users/root HTTP/1.1
Authorization: Basic cm9vdDpyb290
Content-Type: text/xml; charset=utf-8
User-Agent: Jakarta Commons-HttpClient/2.0final
Host: iire52.jrc.it:8080
Cookie: $Version=0; JSESSIONID=E58FB8C57FF1EE651D1D2EA9D7402D72;
$Path=/slide
Content-Length: 91
Depth: 0
<D:propfind xmlns:D="DAV:">
   <D:allprop>
   </D:allprop>
</D:propfind>
------------------------------------------------------------------------

<<<<<<< from server  ---------------------------------------------------
HTTP/1.1 207 Multi-Status
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 18 Jun 2004 09:30:05 GMT
Server: Apache-Coyote/1.1
<D:multistatus xmlns:D="DAV:">
   <D:response>
      <D:href>
            /slide/users/root
      </D:href>
      <D:propstat>
         <D:prop>
            <D:displayname>
                  root
            </D:displayname>
            <S:password xmlns:S="http://jakarta.apache.org/slide/">
                  root
            </S:password>
            <D:source>
            </D:source>
            <D:getlastmodified>
                  Fri, 18 Jun 2004 08:45:49 GMT
            </D:getlastmodified>
            <D:getcontentlength>
                  0
            </D:getcontentlength>
            <D:resourcetype>
               <D:collection>
               </D:collection>
               <D:principal>
               </D:principal>
            </D:resourcetype>
            <D:creationdate>
                  2004-06-18T08:45:49Z
            </D:creationdate>
            <D:lockdiscovery>
            </D:lockdiscovery>
            <D:supportedlock>
               <D:lockentry>
                  <D:lockscope>
                     <D:exclusive>
                     </D:exclusive>
                  </D:lockscope>
                  <D:locktype>
                     <D:write>
                     </D:write>
                  </D:locktype>
               </D:lockentry>
               <D:lockentry>
                  <D:lockscope>
                     <D:shared>
                     </D:shared>
                  </D:lockscope>
                  <D:locktype>
                     <D:write>
                     </D:write>
                  </D:locktype>
               </D:lockentry>
            </D:supportedlock>
            <D:modificationdate>
                  2004-06-18T09:13:40Z
            </D:modificationdate>
         </D:prop>
         <D:status>
               HTTP/1.1 200 OK
         </D:status>
      </D:propstat>
   </D:response>
</D:multistatus>
------------------------------------------------------------------------

   D:displayname : root
   S:password : root
   D:source :
   D:getlastmodified : Fri, 18 Jun 2004 08:45:49 GMT
   D:getcontentlength : 0
   D:resourcetype : COLLECTION
   D:creationdate : 2004-06-18T08:45:49Z
   D:lockdiscovery :
   D:supportedlock : Exclusive write lock, Shared write lock
   D:modificationdate : 2004-06-18T09:13:40Z
[IIRE52.JRC.IT:/slide/users/] V:\jakarta-slide-webdavclient-bin-2.1M1\bin $






> -----Original Message-----
> From: kranga [mailto:kranga@k2d2.org]
> Sent: Thursday, June 17, 2004 7:51 PM
> To: Slide Users Mailing List
> Subject: Re: Help adding users, access denied when logging in
>
>
> Make sure the namespace of the password is set to
> http://jakarta.apache.org/slide. Look at some similar posting related to
> creating a new user...
>
>
> ----- Original Message -----
> From: "Paul Hussein" <pa...@jrc.it>
> To: "Slide Mailing List" <sl...@jakarta.apache.org>
> Sent: Thursday, June 17, 2004 9:17 AM
> Subject: Help adding users, access denied when logging in
>
>
> > I am using the tomcat 5.0 M1 Slide on an XP machine.
> >
> > I have followed as much as I can the instruction about adding a user in
> > slide.
> >
> > 1. Create collection under /users with name of user
> > 2. Add a field called password in properties of collection set to the
> > password required.
> >
> > Then when I try to login using DAV Explorer to
> > http:/localhost:8080/slide/files using username and password
> added it says
> >
> >
> > 403 Access to the requested resource has been denied.
> >
> >
> >
> >
> > Can someone help. Is this an issue of access control to the
> directory, or
> > have I got the useradd wrong ?
> >
> >
> > Cheers
> >
> > Paul.
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Help adding users, access denied when logging in

Posted by kranga <kr...@k2d2.org>.
Make sure the namespace of the password is set to
http://jakarta.apache.org/slide. Look at some similar posting related to
creating a new user...


----- Original Message ----- 
From: "Paul Hussein" <pa...@jrc.it>
To: "Slide Mailing List" <sl...@jakarta.apache.org>
Sent: Thursday, June 17, 2004 9:17 AM
Subject: Help adding users, access denied when logging in


> I am using the tomcat 5.0 M1 Slide on an XP machine.
>
> I have followed as much as I can the instruction about adding a user in
> slide.
>
> 1. Create collection under /users with name of user
> 2. Add a field called password in properties of collection set to the
> password required.
>
> Then when I try to login using DAV Explorer to
> http:/localhost:8080/slide/files using username and password added it says
>
>
> 403 Access to the requested resource has been denied.
>
>
>
>
> Can someone help. Is this an issue of access control to the directory, or
> have I got the useradd wrong ?
>
>
> Cheers
>
> Paul.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Help adding users, access denied when logging in

Posted by Pi...@enseeiht.fr.
> I am using the tomcat 5.0 M1 Slide on an XP machine.
>
> I have followed as much as I can the instruction about adding a user in
> slide.
>
> 1. Create collection under /users with name of user
> 2. Add a field called password in properties of collection set to the
> password required.
>
> Then when I try to login using DAV Explorer to
> http:/localhost:8080/slide/files using username and password added it says
>
> 403 Access to the requested resource has been denied.
>
Same problem here.

And the previous posts don't help.
Here is the typing I've done :

Create collection pierre unders /users
Set the property password with the namespace http://jakarta.apache.org/slide/

Here is the result, given by propgretall :
Getting properties '/slide/users/pierre':
   D:displayname : pierre
   S:password : pierre
   D:source :
   D:getlastmodified : Fri, 18 Jun 2004 07:28:35 GMT
   D:getcontentlength : 0
   D:resourcetype : COLLECTION
   D:creationdate : 2004-06-18T07:28:35Z
   D:lockdiscovery :
   D:supportedlock : Exclusive write lock, Shared write lock
   D:modificationdate : 2004-06-18T07:30:29Z

The output is identical to the users root for instance :

Getting properties '/slide/users/root':
   D:displayname : root
   S:password : root
   D:source :
   D:getlastmodified : Fri, 18 Jun 2004 07:27:24 GMT
   D:getcontentlength : 0
   D:resourcetype : COLLECTION
   D:creationdate : 2004-06-18T07:27:24Z
   D:lockdiscovery :
   D:supportedlock : Exclusive write lock, Shared write lock
   D:modificationdate : 2004-06-18T07:27:24Z

All seems correct, but still 403 Error :-(

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org