I'm trying to add users from the LDAP group pGina to the local administrators group but getting failures after succesful LDAP authentication. Also it looks like from the log its trying to mirror LDAP groups even though I have that unchecked in the config.
heres the log any help would be appreciated.
****
**** Simulated login starting: Friday, March 08, 2013 7:26:45 AM
**** pGina Version: 3.1.7.1
**** Enabled plugins:
**** Authentication: LDAP, Local Machine
**** Authorization: LDAP, Local Machine
**** Gateway: LDAP, Local Machine
**** Notification:
****
2013-03-08 07:26:45,846 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: New PluginDriver created
2013-03-08 07:26:45,862 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Begin login chain, 1 stateful plugin(s).
2013-03-08 07:26:45,862 [1|DEBUG] LdapPlugin: BeginChain
2013-03-08 07:26:45,862 [1|DEBUG] LdapServer: Initializing LdapServer host(s): [
ldap.server.com], port: 636, useSSL = True, verifyCert = False
2013-03-08 07:26:45,862 [1|DEBUG] LdapServer: Timeout set to 10 seconds.
2013-03-08 07:26:45,862 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Performing login process
2013-03-08 07:26:45,877 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Authenticating user username, 2 plugins available
2013-03-08 07:26:45,877 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Calling 0f52390b-c781-43ae-bd62-553c77fa4cf7
2013-03-08 07:26:45,877 [1|DEBUG] LdapPlugin: AuthenticateUser(a896c2b1-98da-42dd-90d8-dc7476809013)
2013-03-08 07:26:45,877 [1|DEBUG] LdapPlugin: Received username: username
2013-03-08 07:26:45,877 [1|DEBUG] LdapPlugin: Attempting authentication for username
2013-03-08 07:26:45,877 [1|DEBUG] LdapServer: Attempting bind as domain\ServicepGina
2013-03-08 07:26:47,049 [1|DEBUG] LdapServer: VerifyCert(...)
2013-03-08 07:26:47,049 [1|DEBUG] LdapServer: Verifying certificate from host:
ldap.server.com2013-03-08 07:26:47,049 [1|DEBUG] LdapServer: Server certificate accepted without verification.
2013-03-08 07:26:47,237 [1|DEBUG] LdapServer: Successful bind to
ldap.server.com as domain\ServicepGina
2013-03-08 07:26:47,237 [1|DEBUG] LdapServer: Searching for DN using filter (&(objectClass=user)(sAMAccountName=username))
2013-03-08 07:26:47,237 [1|DEBUG] LdapServer: Searching context OU=Administrative Accounts,DC=domain,DC=com
2013-03-08 07:26:47,440 [1|DEBUG] LdapServer: Searching context OU=Users and Groups,DC=domain,DC=com
2013-03-08 07:26:47,627 [1|DEBUG] LdapServer: Searching context OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:48,034 [1|DEBUG] LdapServer: Found DN: CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:48,034 [1|DEBUG] LdapServer: Attempting to bind with DN CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:48,034 [1|DEBUG] LdapServer: Attempting bind as CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:48,252 [1|DEBUG] LdapServer: Successful bind to
ldap.server.com as CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:48,252 [1|DEBUG] LdapServer: LDAP DN CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com successfully bound to server, return success
2013-03-08 07:26:48,252 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: 0f52390b-c781-43ae-bd62-553c77fa4cf7 Succeeded
2013-03-08 07:26:48,252 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Calling 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d
2013-03-08 07:26:48,252 [1|DEBUG] LocalMachine: AuthenticateUser(a896c2b1-98da-42dd-90d8-dc7476809013)
2013-03-08 07:26:48,252 [1|DEBUG] LocalMachine: Found username: username
2013-03-08 07:26:48,268 [1|INFO ] LocalMachine: Authenticated user: username
2013-03-08 07:26:48,268 [1|DEBUG] LocalMachine: AuthenticateUser: Mirroring group membership from SAM
2013-03-08 07:26:52,909 [1|ERROR] LocalAccount.SyncLocalGroupsToUserInfo: Unexpected error while syncing local groups, skipping rest: System.Runtime.InteropServices.COMException (0x80070035): The network path was not found.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.SAMStoreCtx.ResolveCrossStoreRefToPrincipal(Object o)
at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNextForeign()
at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNext()
at System.DirectoryServices.AccountManagement.PrincipalCollectionEnumerator.MoveNext()
at System.DirectoryServices.AccountManagement.PrincipalCollectionEnumerator.System.Collections.IEnumerator.MoveNext()
at pGina.Plugin.LocalMachine.LocalAccount.IsUserInGroup(UserPrincipal user, GroupPrincipal group)
at pGina.Plugin.LocalMachine.LocalAccount.GetGroups(UserPrincipal user)
at pGina.Plugin.LocalMachine.LocalAccount.SyncLocalGroupsToUserInfo(UserInformation userInfo)
2013-03-08 07:26:52,909 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d Succeeded
2013-03-08 07:26:52,909 [1|INFO ] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Successfully authenticated username
2013-03-08 07:26:52,909 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Authorizing user username, 2 plugins available
2013-03-08 07:26:52,909 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Calling 0f52390b-c781-43ae-bd62-553c77fa4cf7
2013-03-08 07:26:52,909 [1|DEBUG] LdapPlugin: LDAP Plugin Authorization
2013-03-08 07:26:52,909 [1|DEBUG] LdapServer: Attempting bind as domain\ServicepGina
2013-03-08 07:26:53,112 [1|DEBUG] LdapServer: Successful bind to
ldap.server.com as domain\ServicepGina
2013-03-08 07:26:53,112 [1|DEBUG] LdapServer: Attempting to generate DN for user username
2013-03-08 07:26:53,112 [1|DEBUG] LdapServer: Attempting bind as domain\ServicepGina
2013-03-08 07:26:53,299 [1|DEBUG] LdapServer: Successful bind to
ldap.server.com as domain\ServicepGina
2013-03-08 07:26:53,299 [1|DEBUG] LdapServer: Searching for DN using filter (&(objectClass=user)(sAMAccountName=username))
2013-03-08 07:26:53,299 [1|DEBUG] LdapServer: Searching context OU=Administrative Accounts,DC=domain,DC=com
2013-03-08 07:26:53,502 [1|DEBUG] LdapServer: Searching context OU=Users and Groups,DC=domain,DC=com
2013-03-08 07:26:53,690 [1|DEBUG] LdapServer: Searching context OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:53,893 [1|DEBUG] LdapServer: Found DN: CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:53,909 [1|DEBUG] LdapServer: Searching for group membership, DN: cn=pGina,ou=Test Group,ou=Group One,ou=Users and Groups Exceptions,dc=domain,dc=com Filter: (member=CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com)
2013-03-08 07:26:54,096 [1|DEBUG] LdapPlugin: User username is member of group pGina
2013-03-08 07:26:54,096 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Calling 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d
2013-03-08 07:26:54,096 [1|INFO ] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Successfully authorized username
2013-03-08 07:26:54,096 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Processing gateways for user username, 2 plugins available
2013-03-08 07:26:54,096 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Calling 0f52390b-c781-43ae-bd62-553c77fa4cf7
2013-03-08 07:26:54,096 [1|DEBUG] LdapPlugin: LDAP Plugin Gateway
2013-03-08 07:26:54,112 [1|DEBUG] LdapServer: Attempting bind as domain\ServicepGina
2013-03-08 07:26:54,299 [1|DEBUG] LdapServer: Successful bind to
ldap.server.com as domain\ServicepGina
2013-03-08 07:26:54,299 [1|DEBUG] LdapServer: Attempting to generate DN for user username
2013-03-08 07:26:54,299 [1|DEBUG] LdapServer: Attempting bind as domain\ServicepGina
2013-03-08 07:26:54,502 [1|DEBUG] LdapServer: Successful bind to
ldap.server.com as domain\ServicepGina
2013-03-08 07:26:54,502 [1|DEBUG] LdapServer: Searching for DN using filter (&(objectClass=user)(sAMAccountName=username))
2013-03-08 07:26:54,502 [1|DEBUG] LdapServer: Searching context OU=Administrative Accounts,DC=domain,DC=com
2013-03-08 07:26:54,690 [1|DEBUG] LdapServer: Searching context OU=Users and Groups,DC=domain,DC=com
2013-03-08 07:26:54,877 [1|DEBUG] LdapServer: Searching context OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:55,096 [1|DEBUG] LdapServer: Found DN: CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com
2013-03-08 07:26:55,096 [1|DEBUG] LdapServer: Searching for group membership, DN: cn=pGina,ou=Test Group,ou=Group One,ou=Users and Groups Exceptions,dc=domain,dc=com Filter: (member=CN=Last\, First,OU=Site,OU=Test Group,OU=Group One,OU=Users and Groups Exceptions,DC=domain,DC=com)
2013-03-08 07:26:55,284 [1|DEBUG] LdapPlugin: User username is member of group pGina
2013-03-08 07:26:55,284 [1|INFO ] LdapPlugin: Adding user username to local group Administrators, due to rule "If member of LDAP group "pGina" add to local group "Administrators""
2013-03-08 07:26:55,284 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: Calling 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d
2013-03-08 07:26:55,315 [1|DEBUG] LocalMachine: AuthenticatedUserGateway(a896c2b1-98da-42dd-90d8-dc7476809013) for user: username
2013-03-08 07:26:55,315 [1|DEBUG] LocalAccount[username]: SyncToLocalUser()
2013-03-08 07:26:55,565 [1|DEBUG] LocalAccount[username]: Checking for groups to remove.
2013-03-08 07:26:55,596 [1|ERROR] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: 12fa152d-a2e3-4c8d-9535-5dcd49dfcb6d Failed to process gateway for username message: Unable to sync users local group membership: System.Runtime.InteropServices.COMException (0x80070035): The network path was not found.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.AccountManagement.SAMStoreCtx.ResolveCrossStoreRefToPrincipal(Object o)
at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNextForeign()
at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNext()
at System.DirectoryServices.AccountManagement.PrincipalCollectionEnumerator.MoveNext()
at System.DirectoryServices.AccountManagement.PrincipalCollectionEnumerator.System.Collections.IEnumerator.MoveNext()
at pGina.Plugin.LocalMachine.LocalAccount.IsUserInGroup(UserPrincipal user, GroupPrincipal group)
at pGina.Plugin.LocalMachine.LocalAccount.GetGroups(UserPrincipal user)
at pGina.Plugin.LocalMachine.LocalAccount.SyncToLocalUser()
2013-03-08 07:26:55,612 [1|DEBUG] PluginDriver:a896c2b1-98da-42dd-90d8-dc7476809013: End login chain, 1 stateful plugin(s).
2013-03-08 07:26:55,612 [1|DEBUG] LdapPlugin: EndChain
2013-03-08 07:26:55,612 [1|DEBUG] LdapServer: Closing LDAP connection to
ldap.server.com.