Hi Miguel

First, you could drop the Unauthorized Exception from the error_log
object in the root folder of the zope management interface. Then
activate the verbose-security option in your zope.conf file. To do
this, you need to put/replace this lines:

security-policy-implementation python
verbose-security on

After you have done this, you need to restart zope, try again your
authentication script, and take a look at your event.log file or
the error_log object. You may find the reason of why is this failing.
In case you don't find it, then place the full traceback here.

Best regards

Miguel Beltran R. schrieb:
I have this program what open a dtml what return a XML page, but I
have error with permisions:

import urllib, urllib2

pagina = "";
datos = {"btipo":"D",

aut.add_password("AFICON", pagina, "myuser", "mypass")
print r.read()

but returned XML say:
        <error_description>You are not allowed to access 'zsql_alta'
in this context</error_description>


help? how I can send HTTPBasicAuth?

pd. Sorry by my bad english

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to