First post!

29 views
Skip to first unread message

Nate Yocom

unread,
Oct 25, 2011, 10:31:44 AM10/25/11
to pgina...@googlegroups.com
Woot.

Lo5t

unread,
Nov 10, 2011, 4:21:22 PM11/10/11
to pgina-devel
woot woot

On Oct 25, 3:31 pm, Nate Yocom <n...@pgina.org> wrote:
> Woot.

Nate Yocom

unread,
Nov 10, 2011, 6:34:41 PM11/10/11
to pgina...@googlegroups.com
Hey Lo5t!

Lo5t

unread,
Nov 14, 2011, 5:33:45 AM11/14/11
to pgina-devel
Hey
First impression after one day developing in new environment:
I find it far easier to develop a Plugin under the new pGina, nice
work.

So far:
I used the existing Plugins to develop mine. I have compiled my
project as a dll and have installed pGina 3. I included the directory
where my dll is located. But unfortunately i don't seem to understand
the plugin include into the new pgina, all the existing included
projects don't seem to have dll files yet are still included. And my
project doesn't seem to have been included although i have a compiled
dll. For the UID I used a web-based UID generator.

Under a 32-bit Win XP *when logged in, (and i press ctrl+alt+del) i
get no Text (or rather ??? ) for all text and buttons. Also after
rebooting pGina failed to load so had to uninstall it in safe mode.
And don't really know if one would consider this a bug. When a plugin
is selected and u double click with in the box but not on another
plugin it loads the configuration dialog of the highlighted plugin.

To my plugin:
Am practically rewriting your ldap plugin but using a bind with the
supplied username and password. Under the new pGina I will split the
mapping of usernames and the ldap bind into two plugins. Although that
means i get 2 binds, it will allow for the username mapping to be an
optional plugin. I really like the feature of DidPluginAuth.

But all in all really nice work. Just confused on how to include
plugins.

Cheers.
Lo5t

Lo5t

unread,
Nov 14, 2011, 5:40:10 AM11/14/11
to pgina-devel
Right manaedged includes when i manually copy my dll into the pGina/
Plugin directory.

Lo5t

Nate Yocom

unread,
Nov 14, 2011, 10:54:59 AM11/14/11
to pgina...@googlegroups.com
First impression after one day developing in new environment:
I find it far easier to develop a Plugin under the new pGina, nice
work.

Thanks!
 
<snip> unfortunately i don't seem to understand
the plugin include into the new pgina</snip>

Sounds like you got this worked out, when you run the configuration UI you can see (as well as add/remove) the directories that pgina will look for plugins in.
 
Under a 32-bit Win XP *when logged in, (and i press ctrl+alt+del) i
get no Text (or rather ??? ) for all text and buttons.

Can you send a screenshot? Are you using an english build of windows, or a different language?  Are you using the BETA release, or your own pgina built from code?  I have to admit, I have not yet tested XP - only 2003.  Are you at SP3?  Sounds like it's time to install an XP vm...
 
Also after
rebooting pGina failed to load so had to uninstall it in safe mode.

I'm confused, how did you see '???' text/buttons without a reboot?  Did you get a specific error after the reboot?
 
And don't really know if one would consider this a bug. When a plugin
is selected and u double click with in the box but not on another
plugin it loads the configuration dialog of the highlighted plugin.

This is by design yes.
 
Am practically rewriting your ldap plugin but using a bind with the
supplied username and password. Under the new pGina I will split the
mapping of usernames and the ldap bind into two plugins. Although that
means i get 2 binds, it will allow for the username mapping to be an
optional plugin. I really like the feature of DidPluginAuth.

Have you thought about extending the existing ldap plugin instead? It would be straight forward to have the existing plugin expose the u/p it used to bind (via the state map), or even the binding itself, from which a new plugin could then generate/change the username.  Are you pulling the new mapped name from ldap as well? or is it a straight transform of the existing name?
 
But all in all really nice work. Just confused on how to include
plugins.

Glad you like it so far, keep the feedback coming!

Nate

Lo5t

unread,
Nov 15, 2011, 4:58:58 AM11/15/11
to pgina-devel

> Sounds like you got this worked out, when you run the configuration UI you
> can see (as well as add/remove) the directories that pgina will look for
> plugins in.

Yeah figured out it doesnt traverse the directory tree apart from the
directory specified

> Can you send a screenshot? Are you using an english build of windows, or a
> different language?  Are you using the BETA release, or your own pgina
> built from code?  I have to admit, I have not yet tested XP - only 2003.
> Are you at SP3?  Sounds like it's time to install an XP vm...

I am running a XP english service pack 3 VM, cant send scrrenshot
anymore, I did a bit of testing using the pGina 3 installed (exe). But
just finishing up my plugin for 1.8

> I'm confused, how did you see '???' text/buttons without a reboot?  Did you
> get a specific error after the reboot?

The question marks i recieved when going for ctrl+alt+del or rather
the ctrl+alt+insrt for VM. After reebot I got an error message which
would prevent me from ever reaching the logon stage. Am gonna be
finished with my 1.8 plugin very soon and will work on the plugin for
3 thereafter.

> Have you thought about extending the existing ldap plugin instead? It would
> be straight forward to have the existing plugin expose the u/p it used to
> bind (via the state map), or even the binding itself, from which a new
> plugin could then generate/change the username.  Are you pulling the new
> mapped name from ldap as well? or is it a straight transform of the
> existing name?

As far as i could tell, this mainly based on my understanding from the
ldap plugin under 1.8, it is far to detailed for current
implementation purposes. All that i need for the plugin to
authenticate is to bind to the ldap server with the username/password
entered by the user. If authenticaton failed then the authentication
fails and if it is successfull then voila.
The mapping is actually also done though ldap, the user specifies a
functional account (just like domain i.e. testlogon\testuser).There is
a group in which the ldap user is member and a user with the same name
as the ldap group, i.e. cn=testlogon / uid=testlogon, once the groups
have been identified in which the user (uid=testuser) is member then i
extract the specified functional account according to relevant group/
functional account passed by the user. I then pass the username
(uid=testlogon) and theren password back to pGina and voila.

> Glad you like it so far, keep the feedback coming!

Will do more development under pGina 3.x soon just smoothing the
endges for under 1.8.

Thanks

Lo5t
Reply all
Reply to author
Forward
0 new messages