I believe I made the Windows 7 registry changes described on the Samba Wiki (
http://wiki.samba.org/index.php/Windows7) before installing pGina, but I'm not certain if they are actually required.
You'll need to enter an IP address for your LDAP server. I didn't have to enter an admin user name or password for my Open Directory configuration, but you may have to depending on how you have the software configured.
There should not be a user name after the "uid=" in the PrePend field. When you try to log on to the PC with your username (e.g. bpeacock22, charman), pGina will prepend "uid=" to your username and then append the contents of the Append field. The user string passed to the LDAP server will look something like "uid=bpeacock2,cn=users,dc=mydomain,dc=com".
To verify that you are using the correct values for Prepend and Append, you could try downloading LDAPManager (
http://ldapmanager.sourceforge.net/), enter the information for your LDAP server in the "Server Name or IP Address" field, and then click the "Fetch Search Base" button. Pressing this button should cause the "Search Base:" text box to be filled with a string of "cn=X,cn=Y" values. Your Append string should be "cn=users,(STRING
FROM_SEARCHBASE)". Once the search base has been fetched, click the Connect button to browse the LDAP directory. Check to see if you can browse to the LDAP entry for 'cn=users'/'uid=bpeacock2'. If the 'cn=users' isn't at the root of your LDAP tree, you'll need to modify the contents of your Append field appropriately.
I've only used pGina to connect a single PC running the 32-bit version of Windows 7 to my Leopard server. I have not tested my instructions in any other environments. My understanding from another user is that there is currently no 64-bit version of pGina's LDAP plugin.