Skip to main content
16-Pearl
October 14, 2020
Question

Prioritization of ThingWorx directory service and Active Directory

  • October 14, 2020
  • 1 reply
  • 1608 views

In a customer's configuration we have added a Directory Service configuration with a local Active Directory. Now we have the problem that every time when a user logs active directory is asked at first. So every time when a user without an Active Directory account logs in there is an error message logged in the security log.

 

Is it possible to prioritise the ThingWorx Directory Service? Is there a way to avoid the external Directory Service to log the error message.

 

The error message in security log says: General error occurred. [explanation: java.lang.Exception: User does not exist in AD, the credentials are invalid, or the User ID Attribute Name Schema Mapping is incorrect.]

1 reply

5-Regular Member
October 15, 2020

After AD is configured in TWX, the TWX would allow local twx user and AD user to access the TWX server, and when a new AD entry happens, TWX will create a related twx USER account in the system.

 

Are you referring that when local twx user logs in, there will be an security error message?  Because if the account is not in both TWX and AD, surely there will be error message.

pjahn16-PearlAuthor
16-Pearl
October 15, 2020

Yes. Every time when a local TWX user logs in (successfully) an error message is logged by the Directory Service configured for Active Directory. I would like to suppress/avoid this error messages. So basically I would like to give the local user directory a higher priority than the additionally configured directory service.  

5-Regular Member
October 15, 2020

Ok, as you confirming this, you may need to create a case so that TS engineer can create a related bug.  You may add your TWX version inside. I only have a 8.4 AD system and didn't notice that, in the new case engineer will confirm if it happens in latest versions.