newbie can't log out of zope manager?
It's my turn to climb the zope learning curve so apologising if this is boring ... I'm on a redhat 6.2 linux platform and have installed apparently OK to to run with Apache. My browser pointed at http://localhost:8080/manage gets me to the management tabs, and I created a user, but when I choose to "logout" using the button at top right I get "Authorisation failure. Retry?" on the screen and an invitation to reenter the admin password. How do I deal with this problem? I found one of the site documents which referred to a file and dir permissions on a SuSe linux system and have tried to be guided by it, but certain files (like "access") do not exist on my installation, so I'm untrusting. Can someone help me out please? -- Peter J. MASON, Principal Software Engineer Retriever Communications Pty Ltd Ph: +61-2-9006 8600 Fax: +61-2-9006 8605 Email: peter.mason@retriever.com.au Web: www.retriever.com.au
Peter, This is not a "problem" but it's an artifact of doing a logout. Since you are not logged in, and then try to access a page in the management interface, it will of course try to reprompt you for your username and password. Simply login as your newly created user and away you go.. --Adam On 23 Mar 2001 14:11:46 +1100, Peter J. MASON wrote:
but when I choose to "logout" using the button at top right I get "Authorisation failure. Retry?" on the screen and an invitation to reenter the admin password.
"M. Adam Kendall" wrote:
Peter, This is not a "problem" but it's an artifact of doing a logout .. Simply login as your newly created user and away you go..
OK, I understand. Thanks for the prompt response ... and the patience ... so now I'm not convinced the new user is being created properly (perhaps?). It shows up amidst the acl_users folder(?) but when I attempt to login as the new user, with the password assigned on creation, I get the auth failure message. -- Peter J. MASON, Principal Software Engineer Retriever Communications Pty Ltd Ph: +61-2-9006 8600 Fax: +61-2-9006 8605 Email: peter.mason@retriever.com.au Web: www.retriever.com.au
Ok, this definitely shouldn't be happening. Did you make sure to assign your new user the Manager role? Also, did you happen to possibly fill in some Domain information that you shouldn't have? On 23 Mar 2001 15:08:13 +1100, Peter J. MASON wrote:
so now I'm not convinced the new user is being created properly (perhaps?). It shows up amidst the acl_users folder(?) but when I attempt to login as the new user, with the password assigned on creation, I get the auth failure message.
"M. Adam Kendall" wrote:
Ok, this definitely shouldn't be happening. Did you make sure to assign your new user the Manager role? Also, did you happen to possibly fill in some Domain information that you shouldn't have?
I've tried a few things here. Firstly I had a "manager" role, but the latest has both "manager" and "owner" highlighted. In all cases so far, I've left domains blank. I also noticed that somehow I seem to be changing between admin and the new user, by closing down the browser in the meantime and variously responding to the "login invitation". This tells me that the user are distinct which is good. Can I ask this simply ... you referred originally to an artifact. How do you logout and login? Is closing or reloading the webpage some part of this? And/or what is the function of the "logout" button a top right? -- Peter J. MASON, Principal Software Engineer Retriever Communications Pty Ltd Ph: +61-2-9006 8600 Fax: +61-2-9006 8605 Email: peter.mason@retriever.com.au Web: www.retriever.com.au
Personally, since I do most of my management as the same user most of the time, I really don't have a need to change what user I'm logged in as.. if I do, I usually just shut down the browser and restart. Can be a pain, but like I said, I really don't have to do that often, so it works for me.. There was a trick using <dtml-raise Unauthorized></dtml-raise> that has been mentioned on the mailing list before, but I've never really tried it.. might want to search through the mailing list archives for that solution.. On 23 Mar 2001 15:35:28 +1100, Peter J. MASON wrote:
"M. Adam Kendall" wrote:
Ok, this definitely shouldn't be happening. Did you make sure to assign your new user the Manager role? Also, did you happen to possibly fill in some Domain information that you shouldn't have?
I've tried a few things here. Firstly I had a "manager" role, but the latest has both "manager" and "owner" highlighted. In all cases so far, I've left domains blank.
I also noticed that somehow I seem to be changing between admin and the new user, by closing down the browser in the meantime and variously responding to the "login invitation". This tells me that the user are distinct which is good.
Can I ask this simply ... you referred originally to an artifact. How do you logout and login? Is closing or reloading the webpage some part of this? And/or what is the function of the "logout" button a top right?
-- Peter J. MASON, Principal Software Engineer Retriever Communications Pty Ltd Ph: +61-2-9006 8600 Fax: +61-2-9006 8605 Email: peter.mason@retriever.com.au Web: www.retriever.com.au
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi Peter, I *think* you are facing the following problem: HTTP does not define a "logout" for HTTP-authentication. The browser keeps sending user and password all the time to the server. Most browsers however flush this information if they get suddenly presented with an "unauthorized" report from server since it is identical with the situation when the user inputs wrong credentials. Zope "logout" uses this effect with a page that gets called where nobody has the right to view. This causes this login-screen appear whatever user/password combo has been set. You have to close this window and go to the management page again, perhaps by clicking anywhere on it but not at this "logout" button again ;) HTH Tino "Peter J. MASON" wrote:
"M. Adam Kendall" wrote:
Ok, this definitely shouldn't be happening. Did you make sure to assign your new user the Manager role? Also, did you happen to possibly fill in some Domain information that you shouldn't have?
I've tried a few things here. Firstly I had a "manager" role, but the latest has both "manager" and "owner" highlighted. In all cases so far, I've left domains blank.
I also noticed that somehow I seem to be changing between admin and the new user, by closing down the browser in the meantime and variously responding to the "login invitation". This tells me that the user are distinct which is good.
Can I ask this simply ... you referred originally to an artifact. How do you logout and login? Is closing or reloading the webpage some part of this? And/or what is the function of the "logout" button a top right?
-- Peter J. MASON, Principal Software Engineer Retriever Communications Pty Ltd Ph: +61-2-9006 8600 Fax: +61-2-9006 8605 Email: peter.mason@retriever.com.au Web: www.retriever.com.au
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
M. Adam Kendall -
Peter J. MASON -
Tino Wildenhain