[Zope] acl_users folder > 25000
Martijn Jacobs
martijn at fourdigits.nl
Thu Jun 5 09:40:59 EDT 2008
I wouldn't know, it seems like something is not correctly configured to
reach the GMail server.
However, I suggested the gmailauthplugin as an example for writing a PAS
plugin, not as a functional product for a website :) Take a look
authenticateCredentials in GMailAuthPlugin.py, there is where the
authentication is happening.
Martijn.
> Thanks for the link to the gmailauthplugin.
>
> I am trying it out on plone 3 on a mac tiger laptop and I'm getting
> the following error:
>
>
> Exception Type URLError
> Exception Value <urlopen error no host given>
>
> * Module ZPublisher.Publish, line 110, in publish
> * Module ZPublisher.BaseRequest, line 580, in traverse
> * Module Products.PluggableAuthService.PluggableAuthService, line
> 233, in validate
> * Module Products.PluggableAuthService.PluggableAuthService, line
> 600, in _extractUserIds
> * Module Products.GMailAuthPlugin.GMailAuthPlugin, line 89, in
> authenticateCredentials
> * Module Products.GMailAuthPlugin.libgmail_incl.libgmail, line 320, in login
> * Module Products.GMailAuthPlugin.libgmail_incl.libgmail, line
> 333, in _retrievePage
> * Module urllib2, line 130, in urlopen
> * Module urllib2, line 356, in open
> * Module urllib2, line 943, in do_request_
>
> Here is the environment specifics:
>
> Zope Version (Zope 2.10.5-final, python 2.4.4, darwin)
> Python Version 2.4.4 (#1, Feb 21 2008, 21:15:12) [GCC 4.0.1 (Apple
> Computer, Inc. build 5250)]
> System Platform darwin
> SOFTWARE_HOME /Applications/Plone-3.0.6/lib/python
>
> Any Suggestions?
> Thanks in advance.
> -Tim
> www.medicinebrain.com
>
>
> On 6/3/08, Martijn Jacobs <martijn at fourdigits.nl> wrote:
>
>> Kees de Brabander wrote:
>>
>>> I have no idea.
>>> I have been looking at the PAS, but did not find to much documentation
>>> on it.
>>> Would it be possible to use a database that my client does maintain?
>>>
>>> cb
>>>
>> Yes that would be possible. Take a look at
>> http://plone.org/products/gmailauthplugin as it's a pretty nice example
>> how to write a plugin yourself. You can also take a look at
>> https://svn.plone.org/svn/collective/PASPlugins/
>>
>>
>> Martijn
>>
>> --
>> Martijn Jacobs
>> Four Digits, Internet Solutions
>>
>> a: Willemsplein 15-1 6811 KB Arnhem NL
>> kvk: 091621370000 | btw: 8161.22.234.B01
>> e-mail: martijn at fourdigits.nl | web: http://www.fourdigits.nl
>> tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117
>>
>>
>>
--
Martijn Jacobs
Four Digits, Internet Solutions
a: Willemsplein 15-1 6811 KB Arnhem NL
kvk: 091621370000 | btw: 8161.22.234.B01
e-mail: martijn at fourdigits.nl | web: http://www.fourdigits.nl
tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117
More information about the Zope
mailing list