Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-26 Thread Leonardo Rochael Almeida
On Tue, 2003-03-25 at 23:35, Jamie Heilman wrote: > Danny W. Adair wrote: > > At 10:23 AM 3/26/2003 +1100, Adrian van den Dries wrote: > > >On March 26, Danny W. Adair wrote: > > >> Thanks. How would I do that? > > >> ZPublisher.Client.call() is very convenient but only takes > > >> url,username,pw

Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Jamie Heilman
Danny W. Adair wrote: > At 10:23 AM 3/26/2003 +1100, Adrian van den Dries wrote: > >On March 26, Danny W. Adair wrote: > >> Thanks. How would I do that? > >> ZPublisher.Client.call() is very convenient but only takes > >> url,username,pwd... > > > >import base64 > >user, pass = base64.decodestring(

Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Danny W. Adair
At 10:23 AM 3/26/2003 +1100, Adrian van den Dries wrote: On March 26, Danny W. Adair wrote: > Thanks. How would I do that? > ZPublisher.Client.call() is very convenient but only takes > url,username,pwd... import base64 user, pass = base64.decodestring(req._auth.split(' ')[1]).split(':') Nice. Tha

Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Adrian van den Dries
On March 26, Danny W. Adair wrote: > Thanks. How would I do that? > ZPublisher.Client.call() is very convenient but only takes > url,username,pwd... import base64 user, pass = base64.decodestring(req._auth.split(' ')[1]).split(':') a. -- Adrian van den Dries [EMAIL PR

Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Danny W. Adair
At 10:04 AM 3/26/2003 +1100, Adrian van den Dries wrote: On March 26, Danny W. Adair wrote: > - use a different approach to call the other server (like passing a > copy of the current Auth header or something...) BaseRequest._auth holds the original auth header, so you can just forward it along. Th

Re: [Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Adrian van den Dries
On March 26, Danny W. Adair wrote: > - use a different approach to call the other server (like passing a > copy of the current Auth header or something...) BaseRequest._auth holds the original auth header, so you can just forward it along. a. -- Adrian van den Dries [

[Zope-dev] ZPublisher.Client and encrypted passwords

2003-03-25 Thread Danny W. Adair
Hi, I need to make an authenticated call from one Zope server to another. Although the two servers share most of their object trees (including the main user folder) through a common ZEO ClientStorage, I have to call the script on a _specific_ machine, since it will make changes to the local fi