Hi, I've got a Zope instance where the username and password specified in the 'access' file don't give me access to the Zope instance. Can anyone suggest what might be the problem? cheers, Chris
[Chris Withers] | I've got a Zope instance where the username and password specified | in the 'access' file don't give me access to the Zope instance. Could it be the 'inituser'-file?
Why is there two files anyway? What is the significance of one over the other? Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Erik Enge" <erik@thingamy.net> To: "Chris Withers" <chrisw@nipltd.com> Cc: <zope@zope.org> Sent: Tuesday, July 17, 2001 9:47 AM Subject: [Zope] Re: 'access' file
[Chris Withers]
| I've got a Zope instance where the username and password specified | in the 'access' file don't give me access to the Zope instance.
Could it be the 'inituser'-file?
[Thomas T. Veldhouse] | Why is there two files anyway? I think LoginManager or some product complaints if there isn't an access-file. Or maybe it was the Membership product. Can't remember.
Then why bother with inituser? It seems quite odd to have both and no description of either (that I have seen in my very limited experience). Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Erik Enge" <erik@thingamy.net> To: "Thomas T. Veldhouse" <veldy@veldy.net> Cc: "Chris Withers" <chrisw@nipltd.com>; <zope@zope.org> Sent: Tuesday, July 17, 2001 10:12 AM Subject: Re: [Zope] Re: 'access' file
[Thomas T. Veldhouse]
| Why is there two files anyway?
I think LoginManager or some product complaints if there isn't an access-file. Or maybe it was the Membership product. Can't remember.
_______________________________________________ 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 )
"Thomas T. Veldhouse" wrote:
Then why bother with inituser? It seems quite odd to have both and no description of either (that I have seen in my very limited experience).
inituser and access have two very different functions, read docs/SECURITY.TXT in your Zope setup... Chris
* Erik Enge <erik@thingamy.net> [010717 15:56]:
[Chris Withers]
| I've got a Zope instance where the username and password specified | in the 'access' file don't give me access to the Zope instance.
Could it be the 'inituser'-file?
a sanity check for you: have you restarted your Zope? seb
Chris Withers wrote:
seb bacon wrote:
a sanity check for you: have you restarted your Zope?
yup, but I wasn't aware that was required for the 'access' file...
...that was a bit unclear... I DID restart the Zope instance, but the access file still isn't working. cheers, Chris
Here are my discoveries, hope this helps (I've entered the thread late, so I hope I understand the problem, if not, feel free to ignore me :-): If using zopeinstances with newer zopes, the file in the zope installation tree is called access, but does not work when you copy it over into the instance directory; it seems that in the instance directory tree zope looks for inituser. I've solved it so that I keep a file access in the zope intslall tree and then I copy it over to my instance directory tree, and rename it inituser. This works, for me at least. I haven't read the security docs (ahem... wasn't eve aware there was one... *cough*) Hope this helps... /dario ----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "seb bacon" <seb@jamkit.com>; "Erik Enge" <erik@thingamy.net>; <zope@zope.org> Sent: Wednesday, July 18, 2001 10:59 PM Subject: Re: [Zope] Re: 'access' file
Chris Withers wrote:
seb bacon wrote:
a sanity check for you: have you restarted your Zope?
yup, but I wasn't aware that was required for the 'access' file...
...that was a bit unclear...
I DID restart the Zope instance, but the access file still isn't working.
cheers,
Chris
_______________________________________________ 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 )
Once I was getting problems with the access file, and I fixed it apparently by making it plain text only, rather than encrypted. Of course I'm sure this can't really have been the problem, but when I have a situation like yours, it's about now that I start waving dead chickens at it. You could try a lucky rabbit's foot, alternatively. not-very-helpfully-yours seb * Chris Withers <chrisw@nipltd.com> [010719 09:32]:
Chris Withers wrote:
seb bacon wrote:
a sanity check for you: have you restarted your Zope?
yup, but I wasn't aware that was required for the 'access' file...
...that was a bit unclear...
I DID restart the Zope instance, but the access file still isn't working.
participants (5)
-
Chris Withers -
Dario Lopez-Kästen -
Erik Enge -
seb bacon -
Thomas T. Veldhouse