[Zope] Re: authentication with python program

2008-04-18 Thread Josef Meile
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

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
Hi Miguel, Is the dtml page accessable by the role myuser has? Did you set the Use Database Methods permission for that role? 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

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Miguel Beltran R.
#Martijn Yes, have role manager #Josef After change options and restart Z2.log: 10.28.1.18 - admin [18/Apr/2008:17:01:08 +0200] GET /Control_Panel/manage_main HTTP/1.1 200 8023 Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 10.28.1.18 - Anonymous

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
Miguel Beltran R. wrote: #Martijn Yes, have role manager What if you login with the user with your webbrowser instead of your python program? -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail:

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Miguel Beltran R.
Using web browser work fine. Using wireshark I see what my python program not send WWW-Authentification. Now I going to python list. But if someone know how can tell me please 2008/4/18, Martijn Jacobs [EMAIL PROTECTED]: Miguel Beltran R. wrote: #Martijn Yes, have role manager

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
I have a very old python script which does want you want, I can send it to you if you like. Martijn Using web browser work fine. Using wireshark I see what my python program not send WWW-Authentification. Now I going to python list. But if someone know how can tell me please 2008/4/18,

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Miguel Beltran R.
Yes please and thakns to every body 2008/4/18, Martijn Jacobs [EMAIL PROTECTED]: I have a very old python script which does want you want, I can send it to you if you like. Martijn Using web browser work fine. Using wireshark I see what my python program not send

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
Miguel Beltran R. wrote: Yes please and thakns to every body Here you go : #!/bin/python import base64 import urllib2 base64string = base64.encodestring('%s:%s' % (username, password)) url = http://10.28.1.239/bitacoras/alta/estado2.html; req = urllib2.Request(url)