05-24-2016 04:11 AM
Hi
Is it possible to link Active Directory to Teststand users ?
I would like to do this as it will allow the user to use their same log in password for the PC.
Kind Regards
Shakeel
Solved! Go to Solution.
05-24-2016 04:14 AM - edited 05-24-2016 04:15 AM
If you refer to the already logged in Windows User (that is what i understand in this context with the Active Directory user!), yes, this can be done.
In the Station Options >> User Manager, check the "Automatically login Windows System User" option.
Norbert
EDIT: You have to create a user in TestStand with the approptiate name first. If you do this manually, use the User Manager tool in the tool icon bar (Ctrl+U).
05-24-2016 04:18 AM - edited 05-24-2016 04:21 AM
Hi Norbert
Thanks for the reply.
Further explanation.
Active Directory contains the password for all the PC users in the company. I would like to check via teststand against that password (The password stored in active directory) to allow access to user Teststand
Edit: I cant user the Automatically Login Windows System User is becasue the one PC is used mby a few employees.
05-24-2016 04:25 AM
Automatically Login Windows System User is what you are looking for....
Here what the TS help states regarding this setting:
Automatically Login Windows System User—For the initial login, TestStand attempts to log in the current Microsoft Windows user name in the TestStand user list. If the user name is found in the user list, TestStand automatically logs in the user at the appropriate level without prompting for a password. If the user name is not found, TestStand prompts the user to log in. In order to use this option, you must create a user entry in the TestStand User Manager and enter the Windows login name for the user as their TestStand login name.
I hope this clears things up.
Norbert
05-24-2016 05:39 AM
Ok so i tested the Automatically Login Windows System User and it logs the current pc in but if i try another user on the network it does not do the same.
I need any one on the network to be able to log in with their User name and password not just the local PC and i do not want it to automatically log in.
Is this possible?
If it it possible with the Automatically Login Windows System User, How do i do it for network users?
05-24-2016 06:37 AM
Windows System User is defined as the user who is logged into the system (PC). It is not applicable for users who connect using e.g. remote desktop unless they relog in Windows.
What is the use case that the local logged in user is not the best choice for you?
Norbert
05-24-2016 07:39 AM
I have a PC that Multiple different employees use but they log in with a generic password. So i need them to log into teststand with their specific details.
05-24-2016 07:56 AM
TestStand provides a separate user management. My recommendation with the Windows System User was due to the experience that most TS users want to get rid of the separate log-in, but still determine the currently active user (e.g. for reporting).
If you don't mind about the separate log-in but want those user to be part of TS, you can write a tool which collects possible users and their passwords and put those into TS.
If you have a question on this, we can surely help with information on the TS part... however, i am not sure if there are others on the forum familiar with Active Directory to read out "possible" users....
Norbert
05-26-2016 08:34 AM
Hi Norbert
So i found a solution but i need to add a new user using CVI but im not sure how to, as this function TS_EngineDisplayNewUserDialog is not what i need. I need to add a user transparently.
The solution is to use the FrontEndCallbacks.seq. I modified the login function to use LDAP to request verification of the username and password from Active Directory and that is linked to a user thats part of teststand.
Thats why i need to add the user to teststand via CVi if the user is valid.
I did add a new post regarding the User Adding a new user with CVI..
05-27-2016 11:54 AM
Hey Shako,
This page explains how to create a new TestStand user, and it explains how to do it within TestStand or outside of TestStand (like with CVI).
Hope that helps!
-Will