WEBDAV bug when changing admin password in 7.8.1
Tuesday, 1 April 2014 · 7 messages · last reply 2 Apr 2014
MI
Maud Ingarao1 Apr 2014 17:11 #
Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password :
mingarao@l100318:~$ cadaver http://localhost:8984/webdav
Authentication required for BaseX on server `localhost':
Username: admin
Password:
dav:/webdav/> ls
Listing collection `/webdav/': succeeded.
Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password
mingarao@l100318:~$ cadaver http://localhost:8984/webdav
Could not open collection:*-> doesn't even ask for a login/password* Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge
dav:/webdav/? ls
The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav
Could not open collection:
Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge
dav:/webdav/?
Thanks a lot :)
Maud
--
/« Ne travaillez jamais »/
*Maud Ingarao*
IHPC (UMR 5037)
Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07
+33 4 37 37 65 79 - maud.ingarao at ens-lyon.fr
/Je suis absente le vendredi | Out of office on Fridays/
http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/
http://www.mutec.huma-num.fr | http://www.projet-plume.org
http://www.cahier.paris-sorbonne.fr/
CG
Christian Grün1 Apr 2014 17:53 #
Hi Maud,
Quoted text · Maud Ingarao · 3 lines
> But as soon as we change the admin password (best practice ? :p), the webdav > connexion becomes impossible, and so the restxq connexion with a 404, while > the rest connexion remains ok, like the client one.
Yes, it's absolutely recommendable to change the admin password ;) Some questions in advance:
* How do you start the server (via "basexhttp", or by directly starting Jetty or Tomcat)?
* How did you change the password?
* Do you have some password data in your web.xml file, which may not match the new credentials?
Salutations,
Christian
Quoted text · Maud Ingarao · 70 lines
On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao <maud.ingarao at ens-lyon.fr> wrote: > Hi :) > > We are experiencing a strange bug in 7.8.1 > > After installing and before changing the admin password is everything ok > (client connexion, rest and restxq connexions, webdav connexion...) > > But as soon as we change the admin password (best practice ? :p), the webdav > connexion becomes impossible, and so the restxq connexion with a 404, while > the rest connexion remains ok, like the client one. > > WEBDAV example : > > With the admin/admin password : > mingarao@l100318:~$ cadaver http://localhost:8984/webdav > Authentication required for BaseX on server `localhost': > Username: admin > Password: > dav:/webdav/> ls > Listing collection `/webdav/': succeeded. > Coll: input 0 avril 1 16:49 > Coll: my 0 avril 1 16:50 > Coll: test 0 avril 1 16:49 > dav:/webdav/> > > > After changing the admin password > mingarao@l100318:~$ cadaver http://localhost:8984/webdav > Could not open collection: -> doesn't even ask for a login/password > Impossible de s'authentifier auprès du serveur: missing realm in Basic > challenge > dav:/webdav/? ls > The `ls' command can only be used when connected to the server. > Try running `open' first (see `help open' for more details). > dav:/webdav/? open http://localhost:8984/webdav > Could not open collection: > Impossible de s'authentifier auprès du serveur: missing realm in Basic > challenge > dav:/webdav/? > > > Thanks a lot :) > Maud > > > -- > > << Ne travaillez jamais >> > > Maud Ingarao > IHPC (UMR 5037) > Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières > Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 > 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 > +33 4 37 37 65 79 - maud.ingarao at ens-lyon.fr > > Je suis absente le vendredi | Out of office on Fridays > > http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr > http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ > http://www.mutec.huma-num.fr | http://www.projet-plume.org > http://www.cahier.paris-sorbonne.fr/ > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
MI
Maud Ingarao1 Apr 2014 17:59 #
Hi christian
Thanks for answering so quickly, wie immer :)
Quoted text · Christian Grün · 3 lines
> > Yes, it's absolutely recommendable to change the admin password ;) > Some questions in advance:
:)
Quoted text · Christian Grün · 3 lines
> > * How do you start the server (via "basexhttp", or by directly > starting Jetty or Tomcat)?
basexhttpQuoted text · Christian Grün · 1 line
> * How did you change the password?
via the client, command
PASSWORDQuoted text · Christian Grün · 2 lines
> * Do you have some password data in your web.xml file, which may not > match the new credentials?
No, this happends before even editing the web.xml
Quoted text · Christian Grün · 3 lines
> > Salutations, > Christian
Bonne soirée :)
Maud
Quoted text · Christian Grün · 72 lines
> > > On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao <maud.ingarao at ens-lyon.fr> wrote: >> Hi :) >> >> We are experiencing a strange bug in 7.8.1 >> >> After installing and before changing the admin password is everything ok >> (client connexion, rest and restxq connexions, webdav connexion...) >> >> But as soon as we change the admin password (best practice ? :p), the webdav >> connexion becomes impossible, and so the restxq connexion with a 404, while >> the rest connexion remains ok, like the client one. >> >> WEBDAV example : >> >> With the admin/admin password : >> mingarao@l100318:~$ cadaver http://localhost:8984/webdav >> Authentication required for BaseX on server `localhost': >> Username: admin >> Password: >> dav:/webdav/> ls >> Listing collection `/webdav/': succeeded. >> Coll: input 0 avril 1 16:49 >> Coll: my 0 avril 1 16:50 >> Coll: test 0 avril 1 16:49 >> dav:/webdav/> >> >> >> After changing the admin password >> mingarao@l100318:~$ cadaver http://localhost:8984/webdav >> Could not open collection: *-> doesn't even ask for a login/password* >> Impossible de s'authentifier auprès du serveur: missing realm in Basic >> challenge >> dav:/webdav/? ls >> The `ls' command can only be used when connected to the server. >> Try running `open' first (see `help open' for more details). >> dav:/webdav/? open http://localhost:8984/webdav >> Could not open collection: >> Impossible de s'authentifier auprès du serveur: missing realm in Basic >> challenge >> dav:/webdav/? >> >> >> Thanks a lot :) >> Maud >> >> >> -- >> >> << Ne travaillez jamais >> >> >> Maud Ingarao >> IHPC (UMR 5037) >> Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières >> Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 >> 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 >> +33 4 37 37 65 79 - maud.ingarao at ens-lyon.fr >> >> Je suis absente le vendredi | Out of office on Fridays >> >> http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr >> http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ >> http://www.mutec.huma-num.fr | http://www.projet-plume.org >> http://www.cahier.paris-sorbonne.fr/ >> >> >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >>
CG
Christian Grün1 Apr 2014 22:55 #
Hi Maud,
merci pour les réponses. I installed cadaver, and I could easily reproduce this behavior.
The authentication will work as expected if you update the admin password in the webapp/WEB-INF/web.xml file [1]. But it's supposed to also function if the credentials are removed from the web.xml file. Beside that, I was surprised that you had to enter credentials with the default password at all! I will check if this issue is specific to the cadaver WebDAV client and give you an update soon.
Cheers,
Christian
[1] http://docs.basex.org/wiki/Web_Application#Configuration
Quoted text · Maud Ingarao · 98 lines
> * How do you start the server (via "basexhttp", or by directly > starting Jetty or Tomcat)? > > basexhttp > > * How did you change the password? > > via the client, command PASSWORD > > * Do you have some password data in your web.xml file, which may not > match the new credentials? > > No, this happends before even editing the web.xml > > Salutations, > Christian > > Bonne soirée :) > Maud > > On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao <maud.ingarao at ens-lyon.fr> wrote: > > Hi :) > > We are experiencing a strange bug in 7.8.1 > > After installing and before changing the admin password is everything ok > (client connexion, rest and restxq connexions, webdav connexion...) > > But as soon as we change the admin password (best practice ? :p), the webdav > connexion becomes impossible, and so the restxq connexion with a 404, while > the rest connexion remains ok, like the client one. > > WEBDAV example : > > With the admin/admin password : > mingarao@l100318:~$ cadaver http://localhost:8984/webdav > Authentication required for BaseX on server `localhost': > Username: admin > Password: > dav:/webdav/> ls > Listing collection `/webdav/': succeeded. > Coll: input 0 avril 1 16:49 > Coll: my 0 avril 1 16:50 > Coll: test 0 avril 1 16:49 > dav:/webdav/> > > > After changing the admin password > mingarao@l100318:~$ cadaver http://localhost:8984/webdav > Could not open collection: -> doesn't even ask for a login/password > Impossible de s'authentifier auprès du serveur: missing realm in Basic > challenge > dav:/webdav/? ls > The `ls' command can only be used when connected to the server. > Try running `open' first (see `help open' for more details). > dav:/webdav/? open http://localhost:8984/webdav > Could not open collection: > Impossible de s'authentifier auprès du serveur: missing realm in Basic > challenge > dav:/webdav/? > > > Thanks a lot :) > Maud > > > -- > > << Ne travaillez jamais >> > > Maud Ingarao > IHPC (UMR 5037) > Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières > Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 > 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 > +33 4 37 37 65 79 - maud.ingarao at ens-lyon.fr > > Je suis absente le vendredi | Out of office on Fridays > > http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr > http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ > http://www.mutec.huma-num.fr | http://www.projet-plume.org > http://www.cahier.paris-sorbonne.fr/ > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
AB
Andy Bunce1 Apr 2014 23:37 #
I wonder if this is related?
It seems to me that the port and host do not get picked up from the system properties in WEB_INF/jetty.xml.
<Set name="host"><SystemProperty name="org.basex.serverhost"
default="0.0.0.0"/></Set>
<Set name="port"><SystemProperty name="org.basex.serverport"
default="8984"/></Set> That is: In the following instructions step 3 should not be required. http://cubeb.blogspot.co.uk/2014/03/a-very-rough-guide-to-running-basex-on.html I have never gotten around to investigating this further.
/Andy
On Tue, Apr 1, 2014 at 9:55 PM, Christian Grün <christian.gruen at gmail.com>wrote:
Quoted text · Christian Grün · 125 lines
> Hi Maud, > > merci pour les réponses. I installed cadaver, and I could easily > reproduce this behavior. > > The authentication will work as expected if you update the admin > password in the webapp/WEB-INF/web.xml file [1]. But it's supposed to > also function if the credentials are removed from the web.xml file. > Beside that, I was surprised that you had to enter credentials with > the default password at all! I will check if this issue is specific to > the cadaver WebDAV client and give you an update soon. > > Cheers, > Christian > > [1] http://docs.basex.org/wiki/Web_Application#Configuration > > > > > * How do you start the server (via "basexhttp", or by directly > > starting Jetty or Tomcat)? > > > > basexhttp > > > > * How did you change the password? > > > > via the client, command PASSWORD > > > > * Do you have some password data in your web.xml file, which may not > > match the new credentials? > > > > No, this happends before even editing the web.xml > > > > Salutations, > > Christian > > > > Bonne soirée :) > > Maud > > > > On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao <maud.ingarao at ens-lyon.fr> > wrote: > > > > Hi :) > > > > We are experiencing a strange bug in 7.8.1 > > > > After installing and before changing the admin password is everything ok > > (client connexion, rest and restxq connexions, webdav connexion...) > > > > But as soon as we change the admin password (best practice ? :p), the > webdav > > connexion becomes impossible, and so the restxq connexion with a 404, > while > > the rest connexion remains ok, like the client one. > > > > WEBDAV example : > > > > With the admin/admin password : > > mingarao@l100318:~$ cadaver http://localhost:8984/webdav > > Authentication required for BaseX on server `localhost': > > Username: admin > > Password: > > dav:/webdav/> ls > > Listing collection `/webdav/': succeeded. > > Coll: input 0 avril 1 16:49 > > Coll: my 0 avril 1 16:50 > > Coll: test 0 avril 1 16:49 > > dav:/webdav/> > > > > > > After changing the admin password > > mingarao@l100318:~$ cadaver http://localhost:8984/webdav > > Could not open collection: -> doesn't even ask for a login/password > > Impossible de s'authentifier auprès du serveur: missing realm in Basic > > challenge > > dav:/webdav/? ls > > The `ls' command can only be used when connected to the server. > > Try running `open' first (see `help open' for more details). > > dav:/webdav/? open http://localhost:8984/webdav > > Could not open collection: > > Impossible de s'authentifier auprès du serveur: missing realm in Basic > > challenge > > dav:/webdav/? > > > > > > Thanks a lot :) > > Maud > > > > > > -- > > > > << Ne travaillez jamais >> > > > > Maud Ingarao > > IHPC (UMR 5037) > > Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières > > Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 > > 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 > > +33 4 37 37 65 79 - maud.ingarao at ens-lyon.fr > > > > Je suis absente le vendredi | Out of office on Fridays > > > > http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr > > http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ > > http://www.mutec.huma-num.fr | http://www.projet-plume.org > > http://www.cahier.paris-sorbonne.fr/ > > > > > > _______________________________________________ > > BaseX-Talk mailing list > > BaseX-Talk at mailman.uni-konstanz.de > > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > > > > > > _______________________________________________ > > BaseX-Talk mailing list > > BaseX-Talk at mailman.uni-konstanz.de > > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
CG
Christian Grün2 Apr 2014 00:07 #
Hi Maud,
I found out that the authentication problem was specific to cadaver, and maybe some other WebDAV clients. The problem is fixed in the latest 8.0 snapshot [1]. This or next week, we are going release BaseX 7.8.2, which will also include this and some other fixes.
Bonne nuit,
Christian
[1] http://files.basex.org/releases/latest/
Quoted text · Andy Bunce · 147 lines
On Tue, Apr 1, 2014 at 11:37 PM, Andy Bunce <bunce.andy at gmail.com> wrote: > I wonder if this is related? > It seems to me that the port and host do not get picked up from the system > properties in WEB_INF/jetty.xml. > > <Set name="host"><SystemProperty name="org.basex.serverhost" > default="0.0.0.0"/></Set> > <Set name="port"><SystemProperty name="org.basex.serverport" > default="8984"/></Set> > > That is: In the following instructions step 3 should not be required. > http://cubeb.blogspot.co.uk/2014/03/a-very-rough-guide-to-running-basex-on.html > I have never gotten around to investigating this further. > > /Andy > > > > On Tue, Apr 1, 2014 at 9:55 PM, Christian Grün <christian.gruen at gmail.com> > wrote: >> >> Hi Maud, >> >> merci pour les réponses. I installed cadaver, and I could easily >> reproduce this behavior. >> >> The authentication will work as expected if you update the admin >> password in the webapp/WEB-INF/web.xml file [1]. But it's supposed to >> also function if the credentials are removed from the web.xml file. >> Beside that, I was surprised that you had to enter credentials with >> the default password at all! I will check if this issue is specific to >> the cadaver WebDAV client and give you an update soon. >> >> Cheers, >> Christian >> >> [1] http://docs.basex.org/wiki/Web_Application#Configuration >> >> >> >> > * How do you start the server (via "basexhttp", or by directly >> > starting Jetty or Tomcat)? >> > >> > basexhttp >> > >> > * How did you change the password? >> > >> > via the client, command PASSWORD >> > >> > * Do you have some password data in your web.xml file, which may not >> > match the new credentials? >> > >> > No, this happends before even editing the web.xml >> > >> > Salutations, >> > Christian >> > >> > Bonne soirée :) >> > Maud >> > >> > On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao <maud.ingarao at ens-lyon.fr> >> > wrote: >> > >> > Hi :) >> > >> > We are experiencing a strange bug in 7.8.1 >> > >> > After installing and before changing the admin password is everything ok >> > (client connexion, rest and restxq connexions, webdav connexion...) >> > >> > But as soon as we change the admin password (best practice ? :p), the >> > webdav >> > connexion becomes impossible, and so the restxq connexion with a 404, >> > while >> > the rest connexion remains ok, like the client one. >> > >> > WEBDAV example : >> > >> > With the admin/admin password : >> > mingarao@l100318:~$ cadaver http://localhost:8984/webdav >> > Authentication required for BaseX on server `localhost': >> > Username: admin >> > Password: >> > dav:/webdav/> ls >> > Listing collection `/webdav/': succeeded. >> > Coll: input 0 avril 1 16:49 >> > Coll: my 0 avril 1 16:50 >> > Coll: test 0 avril 1 16:49 >> > dav:/webdav/> >> > >> > >> > After changing the admin password >> > mingarao@l100318:~$ cadaver http://localhost:8984/webdav >> > Could not open collection: -> doesn't even ask for a login/password >> > Impossible de s'authentifier auprès du serveur: missing realm in Basic >> > challenge >> > dav:/webdav/? ls >> > The `ls' command can only be used when connected to the server. >> > Try running `open' first (see `help open' for more details). >> > dav:/webdav/? open http://localhost:8984/webdav >> > Could not open collection: >> > Impossible de s'authentifier auprès du serveur: missing realm in Basic >> > challenge >> > dav:/webdav/? >> > >> > >> > Thanks a lot :) >> > Maud >> > >> > >> > -- >> > >> > << Ne travaillez jamais >> >> > >> > Maud Ingarao >> > IHPC (UMR 5037) >> > Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières >> > Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 >> > 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 >> > +33 4 37 37 65 79 - maud.ingarao at ens-lyon.fr >> > >> > Je suis absente le vendredi | Out of office on Fridays >> > >> > http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr >> > http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ >> > http://www.mutec.huma-num.fr | http://www.projet-plume.org >> > http://www.cahier.paris-sorbonne.fr/ >> > >> > >> > _______________________________________________ >> > BaseX-Talk mailing list >> > BaseX-Talk at mailman.uni-konstanz.de >> > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> > >> > >> > >> > _______________________________________________ >> > BaseX-Talk mailing list >> > BaseX-Talk at mailman.uni-konstanz.de >> > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> > >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >
M
Maud2 Apr 2014 08:39 #
Wonderful !!
Thanks ;)
(I forgot to tell you that this 401 authorization problem was occuring using oXygen for the webdav connexion as well)
---
Maud
Am 02.04.2014 um 00:07 schrieb Christian Grün
<christian.gruen at gmail.com>:
Quoted text · Christian Grün · 174 lines
> Hi Maud, > > I found out that the authentication problem was specific to cadaver, > and maybe some other WebDAV clients. The problem is fixed in the > latest 8.0 snapshot [1]. This or next week, we are going release BaseX > 7.8.2, which will also include this and some other fixes. > > Bonne nuit, > Christian > > [1] http://files.basex.org/releases/latest/ > > > > On Tue, Apr 1, 2014 at 11:37 PM, Andy Bunce <bunce.andy at gmail.com> > wrote: >> I wonder if this is related? >> It seems to me that the port and host do not get picked up from >> the system >> properties in WEB_INF/jetty.xml. >> >> <Set name="host"><SystemProperty name="org.basex.serverhost" >> default="0.0.0.0"/></Set> >> <Set name="port"><SystemProperty name="org.basex.serverport" >> default="8984"/></Set> >> >> That is: In the following instructions step 3 should not be required. >> http://cubeb.blogspot.co.uk/2014/03/a-very-rough-guide-to-running-basex-on.html >> I have never gotten around to investigating this further. >> >> /Andy >> >> >> >> On Tue, Apr 1, 2014 at 9:55 PM, Christian Grün <christian.gruen at gmail.co >> m> >> wrote: >>> >>> Hi Maud, >>> >>> merci pour les réponses. I installed cadaver, and I could easily >>> reproduce this behavior. >>> >>> The authentication will work as expected if you update the admin >>> password in the webapp/WEB-INF/web.xml file [1]. But it's supposed >>> to >>> also function if the credentials are removed from the web.xml file. >>> Beside that, I was surprised that you had to enter credentials with >>> the default password at all! I will check if this issue is >>> specific to >>> the cadaver WebDAV client and give you an update soon. >>> >>> Cheers, >>> Christian >>> >>> [1] http://docs.basex.org/wiki/Web_Application#Configuration >>> >>> >>> >>>> * How do you start the server (via "basexhttp", or by directly >>>> starting Jetty or Tomcat)? >>>> >>>> basexhttp >>>> >>>> * How did you change the password? >>>> >>>> via the client, command PASSWORD >>>> >>>> * Do you have some password data in your web.xml file, which may >>>> not >>>> match the new credentials? >>>> >>>> No, this happends before even editing the web.xml >>>> >>>> Salutations, >>>> Christian >>>> >>>> Bonne soirée :) >>>> Maud >>>> >>>> On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao <maud.ingarao at ens-lyon.fr >>>> > >>>> wrote: >>>> >>>> Hi :) >>>> >>>> We are experiencing a strange bug in 7.8.1 >>>> >>>> After installing and before changing the admin password is >>>> everything ok >>>> (client connexion, rest and restxq connexions, webdav connexion...) >>>> >>>> But as soon as we change the admin password (best practice ? :p), >>>> the >>>> webdav >>>> connexion becomes impossible, and so the restxq connexion with a >>>> 404, >>>> while >>>> the rest connexion remains ok, like the client one. >>>> >>>> WEBDAV example : >>>> >>>> With the admin/admin password : >>>> mingarao@l100318:~$ cadaver http://localhost:8984/webdav >>>> Authentication required for BaseX on server `localhost': >>>> Username: admin >>>> Password: >>>> dav:/webdav/> ls >>>> Listing collection `/webdav/': succeeded. >>>> Coll: input 0 avril 1 16:49 >>>> Coll: my 0 avril 1 16:50 >>>> Coll: test 0 avril 1 16:49 >>>> dav:/webdav/> >>>> >>>> >>>> After changing the admin password >>>> mingarao@l100318:~$ cadaver http://localhost:8984/webdav >>>> Could not open collection: -> doesn't even ask for a login/password >>>> Impossible de s'authentifier auprès du serveur: missing realm >>>> in Basic >>>> challenge >>>> dav:/webdav/? ls >>>> The `ls' command can only be used when connected to the server. >>>> Try running `open' first (see `help open' for more details). >>>> dav:/webdav/? open http://localhost:8984/webdav >>>> Could not open collection: >>>> Impossible de s'authentifier auprès du serveur: missing realm >>>> in Basic >>>> challenge >>>> dav:/webdav/? >>>> >>>> >>>> Thanks a lot :) >>>> Maud >>>> >>>> >>>> -- >>>> >>>> << Ne travaillez jamais >> >>>> >>>> Maud Ingarao >>>> IHPC (UMR 5037) >>>> Institut d'histoire de la pensée classique, de l'Humanisme aux >>>> Lumières >>>> Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 >>>> 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 >>>> +33 4 37 37 65 79 - maud.ingarao at ens-lyon.fr >>>> >>>> Je suis absente le vendredi | Out of office on Fridays >>>> >>>> http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr >>>> http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ >>>> http://www.mutec.huma-num.fr | http://www.projet-plume.org >>>> http://www.cahier.paris-sorbonne.fr/ >>>> >>>> >>>> _______________________________________________ >>>> BaseX-Talk mailing list >>>> BaseX-Talk at mailman.uni-konstanz.de >>>> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >>>> >>>> >>>> >>>> _______________________________________________ >>>> BaseX-Talk mailing list >>>> BaseX-Talk at mailman.uni-konstanz.de >>>> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >>>> >>> _______________________________________________ >>> BaseX-Talk mailing list >>> BaseX-Talk at mailman.uni-konstanz.de >>> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> >>
Written for BaseX 7.8. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery