Hi Simone, I am here using the third option that is "The Tomcat Bundle" All the environment variables are set properly like JAVA_HOME, SLIDE_HOME etc...
Now I have started the tomcat (using startup.bat) and then I have connected to the Website http://localhost/slide (tomcat is configured to run on port 80). On connection The webdav command line client (i.e. coming in the slide bundle) is asking for username and password Where I am giving "root","root" and it is connecting to the http://localhost/slide. Now on the same $ prompt I have fired following commands... [LOCALHOST] /slide/users/ $ mkcol mihir Making '/slide/users/mihir' collection: succeeded. So the first step to create user under users directory is done successfully... Now then I have fired the second command for setting password property as you mentioned.... [LOCALHOST] /slide/users/ $ propput "http://jakarta.apache.org/slide/" "password" "mihir" [LOCALHOST] /slide/users/ $ Error: invalid command: http://jakarta.apache.org/slide/ It is giving the above error that invalid command... So can you please guide me where I am wrong... Thanks & Regards Mihir -----Original Message----- From: Simone Gianni [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 4:50 PM To: Slide Users Mailing List Subject: RE: how can i create new user in slide Hi Solanki, if you are actually creating users thru the Domain.xml, but not changing tomcat-users files, chanches are that you have your tomcat set-up correctly. Anyway, there are three ways to install Slide : 1) The source distribution 2) The binary distribution 3) The tomcat bundle When using the source distribution, you have ant build tasks that will compile and install slide setting all the required jars in the right places. For more informations look at http://jakarta.apache.org/slide/howto-tomcat.html in the part "integration with tomcat". I've not yet tested this fully. When using the binary distribution you just have a WAR, drop it in the webapps folder of tomcat (and maybe restart tomcat, depends on configuration). Then you should follow instructions in http://jakarta.apache.org/slide/howto-acl.html to confiure your tomcat to support authentication and slide to support autorization. The easiest way is to use the bundle, which IS a tomcat already configured and with slide already installed on it. This supports authorization and authentication as if you have installed tomcat then installed slide then configured everything. If you are just starting using slide go this way. You just have to unpack it in a directory of your choice, go to the bin subdirectory, make sur JAVA_HOME points to the JDK, and run startup.bat or startup.sh . If you have to install slide on an existing tomcat and want to configure everything properly i suggest to take the bundle anyway, and while following instructions on the links above compare your configuration files with the bundle ones, it's much much easier than following the how-tos blindly. Once slide is properly configured following one of the three ways, you don't need to edit the domain.xml file to add users, creating a collection named as the user name inside the /users/ collection and setting the property "password" with name-space "http://jakarta.apache.org/slide/" will be enought to have a new user. Then you have to authorize it to access various resources on your server, but as soon as the user is created you can login with that user. Hope this helps, Ciao, Simone Gianni At 06.33 24/05/2004, you wrote: >Hi, > >As you said I have to configure Slide Realm in tomcat, can you please guide >me how can I configure and enable it for authentication purpose... > >I am using tomcat 4.1.x that is coming in the slide binary. You can also >give me >Some reference link for the same purpose so that I can go to that site and >read it >and configure it by myself. > >See, my purpose is to create one user and login to the slide website using >that new user. > >Can you please give me steps for this (if possible), currently I am changing >the Doamin.xml >And other xml files for creating new user, and I feel that is not the >correct way, there must be >Some way to create a new user and use it for login purpose. So please guide >me and if possible >Provide me the exact steps for the same purpose... > >Thanks & Regards, >Mihir > >-----Original Message----- >From: Simone Gianni [mailto:[EMAIL PROTECTED] >Sent: Friday, May 21, 2004 10:42 PM >To: Slide Users Mailing List >Subject: Re: how can i create new user in slide > >Yes, this is a specific extentension of Slide. The specifications never >mention of a standard way to add a user. AFAIK what follows should be a >quite comprehensive explanation of the various cases : > >-IF Slide Realm is used in the container (and this requires explicit >confiugration) >--A collection can be used to authenticate users, the default is /users/ >THEN >--- When a user requires access, tomcat asks the Slide Realm, which checks >if there is a collection under /users/ with the same name as the user >requesting authentication. >--- IF the collection is there, the property password, with name space >http://jakarta.apache.org/slide/, is compared with the password supplied by >the client. >---- IF the password is ok, the user is granted access. >--- IF the collection is not there, the user does not exists, so it's not >granted access. > >-IF Slide Realm is not configured or used, you can use another >authentication method. In this case it think that to make ACLs useful you >will need a collection under /users/ anyway, because ACL specifications >require a principal URL anyway. > >Ciao, >Simone Gianni > > >At 16.20 21/05/2004, you wrote: > >I remember reading somewhere that this is specific to the slide server and > >not a generic webdav specification is that true? > > > >Jeff > > > > > >>From: Simone Gianni <[EMAIL PROTECTED]> > >>Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > >>To: "Slide Users Mailing List" <[EMAIL PROTECTED]> > >>Subject: Re: how can i create new user in slide > >>Date: Fri, 21 May 2004 16:09:59 +0200 > >> > >>At 13.03 21/05/2004, you wrote: > >>>Hi, > >>> > >>>I am very new to slide... > >>> > >>>I have seen in the "users" directory that there are few users like root, > >>>john, john2 are created > >>>Now I wanted to create my own user, so could anyone please guide me how > >>>can I do that using slide > >>>Command line tool. > >> > >>very simple : > >>cd users > >>mkcol username > >> > >>And the user is there. > >> > >>> > >>>Also once the user is created I want it for login purpose so please > >>>guide me in that direction also. > >> > >>First of all you need to have tomcat confiured to use the Slide Real for > >>authenticating users, in the binary downloads there is a bundle which > >>comes with slide installed in a tomcat5 already configured to use the > >>slide realm and there is also a good howto on the side rearding this. I > >>suggest you to download the bundle to have a "reference configuration", > >>then follow the howto and configure your own tomcat properly. > >> > >>Then, if you use users for authentication, you need to set a password for > >>them. Using the command line client or any other client (DavExplorer is > >>quite good for this), set the "password" property, with namespace > >>"http://jakarta.apache.org/slide/ , containing the password you want. > >> > >>> > >>>Also I would like to know if any sample java programs are available for > >>>different commands of WebDAV client > >>>Then please give me the reference link. > >> > >>A good source of examples is the command line client itself. Download the > >>source of slide, and then you have it in > >>\commandline\src\java\org\apache\webdav\cmd\Client.java after unpaking the >zip. > >> > >>Hope this helps, > >>Simone > >> > >> > >> > > > >_________________________________________________________________ > >FREE pop-up blocking with the new MSN Toolbar get it now! > >http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]