Article Number
000039707
Applies To
RSA Product Set: RSA SecurID
RSA Product/Service Type: Authentication Agent for Windows
RSA Version/Condition: 7.4.x
Platform: Windows
Platform (Other): Challenge a local group of Domain Admin (AD users)
O/S Version: 10
Issue
Windows Agent failing to authenticate local user group.
- Authentication on Windows Agent, when RDP on a Windows machine, is taking more than 30 Seconds then it times out.
- Challenge settings are made through GPO ( Challenge Users In .\Administrators )
- Local Administrators Group contains (EXAMPLE\Domain Admins) which means that the local group has an Active directory Group inside it ( mapped to it )
- Windows Agent logs are showing the below:
SIDAuthenticator(RSANotificationIcon).logGot interface to nested domain group, calling isUserMemberOfGroup() to check the group.2021-05-18 18:56:17.717 6392.3976 [V] [ADSIHelper::getGroupDnLDAPPath] Enter2021-05-18 18:56:17.717 6392.3976 [V] [ADSIHelper::getUseLDAPHint] Enter2021-05-18 18:56:17.717 6392.3976 [I] [ADSIHelper::getUseLDAPHint] Returning: true2021-05-18 18:56:17.717 6392.3976 [V] [ADSIHelper::getUseLDAPHint] Return2021-05-18 18:56:17.733 6392.3976 [E] [ADSIHelper::getGroupDnLDAPPath] Failed to set NT4 Name = NT AUTHORITY\INTERACTIVE2021-05-18 18:56:17.733 6392.3976 [W] [ADSIHelper::getGroupDnLDAPPath] ERROR_DS_NAME_ERROR_NOT_FOUND: Name Translation: Could not find the name or insufficient right to see name2021-05-18 18:56:17.733 6392.3976 [I] [ADSIHelper::getGroupDnLDAPPath] Returning:2021-05-18 18:56:17.733 6392.3976 [V] [ADSIHelper::getGroupDnLDAPPath] Return2021-05-18 18:56:17.733 6392.3976 [V] [ADSIHelper::getUserADsLDAPPath] Enter2021-05-18 18:56:17.733 6392.3976 [V] [ADSIHelper::getUseLDAPHint] Enter2021-05-18 18:56:17.733 6392.3976 [I] [ADSIHelper::getUseLDAPHint] Returning: true2021-05-18 18:56:17.733 6392.3976 [V] [ADSIHelper::getUseLDAPHint] Return2021-05-18 18:56:17.749 6392.3976 [I] [ADSIHelper::getUserADsLDAPPath] Returning: LDAP://CN=A-NMA,CN=Users,DC=korry,DC=com2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::getUserADsLDAPPath] Return2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::isUserMemberOfGroup] Enter2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::openLdapADsObject<IDirectorySearch>] Enter2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::getAdsiBindingFlags] Enter2021-05-18 18:56:17.749 6392.3976 [V] [RsaDesktopConfig::RsaDesktopConfig] Enter2021-05-18 18:56:17.749 6392.3976 [V] [RsaDesktopConfig::RsaDesktopConfig] Unable to open preferences key "SOFTWARE\RSA\RSA Desktop Preferences\Local Authentication Settings", return = 0x22021-05-18 18:56:17.749 6392.3976 [I] [ADSIHelper::isUserMemberOfGroup] Returning: false bInGroup: false Group: User: LDAP://CN=A-NMA,CN=Users,DC=korry,DC=com2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::isUserMemberOfGroup] Return2021-05-18 18:56:17.749 6392.3976 [W] [ADSIHelper::recursiveIsUserInGroup] isUserMemberOfGroup() call returned false, indicating an error during processing, so breaking out of loop2021-05-18 18:56:17.749 6392.3976 [I] [ADSIHelper::recursiveIsUserInGroup] bReturning false, bUnresolvedSIDFound = false, bInGroup = false2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::CheckDomainUserInLocalGroup] Return2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::~ADSIHelper] Enter2021-05-18 18:56:17.749 6392.3976 [V] [ADSIHelper::~ADSIHelper] Return2021-05-18 18:56:17.749 6392.3976 [I] [sidChallenge::queryAdsiForUserLocation] Returning: userLocation = LOCATION_UNKNOWN2021-05-18 18:56:17.749 6392.3976 [V] [sidChallenge::queryAdsiForUserLocation] Return2021-05-18 18:56:17.749 6392.3976 [I] [sidChallenge::checkUserInGroup] Returning: userLocation = LOCATION_UNKNOWN2021-05-18 18:56:17.749 6392.3976 [V] [sidChallenge::checkUserInGroup] Return2021-05-18 18:56:17.749 6392.3976 [I] [sidChallenge::checkUserInGroups] Indeterminate result for challenge group: .\Users2021-05-18 18:56:17.749 6392.3976 [I] [sidChallenge::checkUserInGroups] The user was not found, but the search was indeterminate2021-05-18 18:56:17.749 6392.3976 [I] [sidChallenge::checkUserInGroups] Returning: userLocation = LOCATION_UNKNOWNSIDAuthenticator(LogonUI).log2021-05-18 18:40:16.174 3380.5508 [I] [ADSIHelper::recursiveIsUserInGroup] Got interface to nested domain group, calling isUserMemberOfGroup() to check the group.2021-05-18 18:40:16.174 3380.5508 [V] [ADSIHelper::getGroupDnLDAPPath] Enter2021-05-18 18:40:16.174 3380.5508 [V] [ADSIHelper::getUseLDAPHint] Enter2021-05-18 18:40:16.174 3380.5508 [I] [ADSIHelper::getUseLDAPHint] Returning: true2021-05-18 18:40:16.174 3380.5508 [V] [ADSIHelper::getUseLDAPHint] Return2021-05-18 18:40:16.190 3380.5508 [E] [ADSIHelper::getGroupDnLDAPPath] Failed to set NT4 Name = NT AUTHORITY\INTERACTIVE2021-05-18 18:40:16.190 3380.5508 [W] [ADSIHelper::getGroupDnLDAPPath] ERROR_DS_NAME_ERROR_NOT_FOUND: Name Translation: Could not find the name or insufficient right to see name2021-05-18 18:40:16.190 3380.5508 [I] [ADSIHelper::getGroupDnLDAPPath] Returning:
Cause
The issue is that the Windows Agent cannot locate the user or even the MembershipGroup, which is an AD Group that belongs in the EXAMPLE\Domain Admins Group.
While the challenge settings configured to challenge Local Group Users Only, despite the fact that EXAMPLE\Domain Admins Groups is added in the Local Group users on the machine.
Resolution
- You either challenge a Local group of users ( It has to be a user Group added Locally only ) or an AD User Group.
- So either .\<Local group> or <Domain>\<Domain Group>
- Adding an AD User Group to the local Group on the windows machine through the Computer Management > Local Users and Groups will force the authentication to Fail after entering an Endless LOOP to find the user.
Notes
Since Windows Agent is using
ADSI to access the features of directory services like determining the
GroupMembership in the AD ,
Distinguished Names cannot contain few special characters, as the Agent will enter the same loop and fails at the end.
like the ones below:
Comma | , |
Backslash & Forward character | \ / |
Pound sign (hash sign) | # |
Plus sign | + |
Less than symbol | < |
Greater than symbol | > |
Semicolon | ; |
Double quote (quotation mark) | " |
Equal sign | = |
Leading or trailing spaces | |
Hint:ADSI is an Acronym for
Active
Directory
Service
Interface. A library of routines that provide an interface to various directory namespaces, such as Active Directory, the Windows NT SAM account database, Novell bindery, Novell NDS, and Internet Information Server (IIS).