pGina 3.x Plugin Request - EmailAuth (x64) for Google Apps

282 views
Skip to first unread message

gfdos

unread,
Jan 20, 2012, 10:43:21 AM1/20/12
to pgina-devel
I appreciate all the work that the devs are doing on this program, so
I understand 'what I am asking' when I ask for a new feature/plugin.
That said, I have an additional suggestion for this, so that's why I'm
putting it here.

I am trying to use EmailAuth for Google Apps... little bit about
Google Apps here:
Google Apps POP and IMAP servers are hosted at google, thus you must
append
your domain to the login:

us...@domain.com -- because pop server is pop.google.com

Q: What I'm asking for is an additional feature in a EmailAuth plugin
for pGina 3.x
that will allow you to specify the domain being authed against as part
of the config:
So the plugin is appending the @domain.com, so the windows user is
"user" not "us...@domain.com" -- since @ is an invalid character for
windows usernames


Thanks again in advance

Nate Yocom

unread,
Jan 20, 2012, 3:05:09 PM1/20/12
to pgina...@googlegroups.com
Thanks for the suggestion, I've filed this as a feature request:

https://github.com/pgina/pgina/issues/85

Nate

gfdos

unread,
Jan 23, 2012, 1:21:56 PM1/23/12
to pgina-devel
A pGina 2.1.1 plugin called EmailAuth at version 1.2 src is available
here: http://emailauth.sourceforge.net/

Note: it is src, and has a msi version, but not sure if it is compiled
correctly for x64 like the 1.1 version available
for download from the pGina Legacy sourceforge site.

Additionally completing https://github.com/pgina/pgina/issues/85 will
require solving
https://github.com/pgina/pgina/issues/69

Thanks

Evan H

unread,
Feb 28, 2012, 1:25:14 AM2/28/12
to pgina-devel
Hi gfdos,

I had some spare time this weekend and wrote up a quick email
authentication plugin that supports Google sites.

A copy of the source and binary can be found here:
https://docs.google.com/open?id=0B9f6sWi-qzP2S0VWTE1XWGpRMGl3RjRqS0xDOTdGZw

(In order to download the zip, click File -> Save, or you can just
download the dll in the bin/ folder)

If you have any questions, don't hesitate to let me know.

Regards,

Evan

On Jan 20, 10:43 am, gfdos <gfisc...@claddaghcomm.org> wrote:
> I appreciate all the work that the devs are doing on this program, so
> I understand 'what I am asking' when I ask for a new feature/plugin.
> That said, I have an additional suggestion for this, so that's why I'm
> putting it here.
>
> I am trying to use EmailAuth for Google Apps... little bit about
> Google Apps here:
> Google Apps POP and IMAP servers are hosted at google, thus you must
> append
> your domain to the login:
>
> u...@domain.com  -- because pop server is pop.google.com
>
> Q: What I'm asking for is an additional feature in a EmailAuth plugin
> for pGina 3.x
> that will allow you to specify the domain being authed against as part
> of the config:
>   So the plugin is appending the @domain.com, so the windows user is
> "user" not "u...@domain.com" -- since @ is an invalid character for

gfdos

unread,
Mar 8, 2012, 9:26:21 AM3/8/12
to pgina-devel
Thanks Evan H! This works GREAT.

However, I do need a little help.... It is working fine on the first 2
machines... on the 3rd machine, the plugin isn't showing inside the
pGina configurator. all 3 machines are using Windows 7 x64 Enterprise.
I installed them all the same way... pGina 3.0.8.0, Then copy the dll
into the Plugins directory.... On each machine the install of pGina
had to install .NET framework 4.0 and C++ 2010 runtime.

Any Ideas what I else I can do to get this to show up in the
configurator on this machine?

Thanks,
G

On Feb 28, 1:25 am, Evan H <evan.ho...@oooska.com> wrote:
> Hi gfdos,
>
> I had some spare time this weekend and wrote up a quick email
> authentication plugin that supports Google sites.
>
> A copy of the source and binary can be found here:https://docs.google.com/open?id=0B9f6sWi-qzP2S0VWTE1XWGpRMGl3RjRqS0xD...

Nate Yocom

unread,
Mar 8, 2012, 4:44:24 PM3/8/12
to pgina...@googlegroups.com
Any logs from the service on the broken machine? what about logs from the configuration ui? does it give any errors, or just fail to appear?

gfdos

unread,
Mar 9, 2012, 10:23:57 AM3/9/12
to pgina-devel
Where would the logs be for the service, and configuration ui?
As far as I can tell it just doesn't show in the list of plugins
available.
I have tried removing the plugin directory and re adding it, but same
results, it lists all the other built in plugins,
but not the email plugin.
(I don't have any additional plugins installed other than the shipping
ones in 3.0.8.0 and this EmailAuth 3.0 from Evan H)

I can now reproduce this on 2 machines. Both are Dell Optiplex Gx520
running windows 7 x64 enterprise.
2 machines it is working on are a Lenovo thinkpad, and Lenovo
thinkcentre
All machines installed from same w7 media, following the exact same
steps for windows install.

Evan Horne

unread,
Mar 9, 2012, 11:41:38 AM3/9/12
to pgina...@googlegroups.com, gfis...@claddaghcomm.org
I suspect the issue is with Window's security policy. 

On the machines having issues, try right-clicking on the plugin DLL, and go to properties. At the bottom of the general tab, it will probably say "This file came from another computer and might be blocked...". Click the unblock button and apply. Then try reloading the configuration UI. That should hopefully resolve the issue. 

gfdos

unread,
Mar 9, 2012, 12:18:03 PM3/9/12
to pgina-devel
You got it... However, it wouldn't let me unblock them.

What had to do was install 7-zip, and then run 7-zip as administrator,
and tell it to extract the .dll directly into the plugins folder.

Works great. Thanks Evan!!!
Reply all
Reply to author
Forward
0 new messages