KNOWN ISSUE: Deployment Server Win32 console security does not properly pass through authenticate users from AD groups
Problem/Symptoms
When the Deployment Server Win32 console security is enabled with imported AD group, and a user attempts to log into the console (using AD pass through authentication), they are prompted for credentials. If they do not enter the credentials it will open the console with no security rights. If they do enter in their proper credentials it opens the console with all security rights that the user should have. It also creates a new security user in the Deployment Solution console security instead of just using the group membership.
There are multiple types of environments that can cause this behavior. The following are 3 different known scenarios that exhibit this behavior:
Scenario 1
- AD environment is set up as follows: There are two domain controllers, "parent.com", and "child.parent.com" which is a child domain of "parent.com".
- A security group is added to "child.parent.com" domain called "Console Users".
- A domain user is created called "Altiris" and is added to the "Console Users" group.
- Deployment Solution 6.8 SP2 build 378 is installed with all default options.
- Console security is enabled, and the "Console Users" AD group is given full administrative rights to the Deployment Solution console.
- Log onto a computer that has a Win32 console installed using the account AD "Altiris" from the "child.parent.com" domain.
- Notice how the console security prompts for the username and password. Enter that information and continue.
- From the console select Tools > Security and notice how that user ("Altiris@child.parent.com") is now listed as a security user even though it was never added directly, but only through AD group membership.
Scenario 2
- AD environment is set up as follows: There is one domain controller, "company.com", which was given a NETBIOS name of "MYCOMPANY" (which is different than the UPN domain name).
- A security group is added to "company.com" domain called "Console Users".
- A domain user is created called "Altiris" and is added to the "Console Users" group.
- Deployment Solution 6.8 SP2 build 378 is installed with all default options.
- Console security is enabled, and the "Console Users" AD group is given full administrative rights to the Deployment Solution console.
- Log onto a computer that has a Win32 console installed using the account AD "Altiris" from the "company.com" domain.
- Notice how the console security prompts for the username and password. Enter that information and continue.
Scenario 3
- AD environment is set up as follows: There is one domain controllers, "company.com", which is set up with default settings (where the NETBIOS name is "COMPANY" which is default).
- A security group is added to "company.com" domain called "Console Users".
- The domain user "Administrator" is added to the "Console Users" group.
- The domain user account of "Administrator" does not have the UPN name. Other accounts on the domain controller also might not have a UPN name, but have a SAM name.
- Deployment Solution 6.8 SP2 build 378 is installed with all default options.
- Console security is enabled, and the "Console Users" AD group is given full administrative rights to the Deployment Solution console.
- Log onto a computer that has a Win32 console installed using the account AD "Administrator" from the "company.com" domain.
- Notice how the console security prompts for the username and password. Enter that information and continue.
- From the console select Tools > Security and notice how that user ("Administrator@") is now listed as a security user even though it was never added directly, but only through AD group membership.
Cause
The original express.exe from DS SP2 build 378 was incorrectly caching the NETBIOS domain name in the database. Because the users were cached incorrectly they were not being identified by Active Directory.
Resolution
Solution:
1) Backup Express database and express.exe: Backup the database - usually named 'express' - before making any changes. Make a copy of express.exe.
2) Remove improperly cached users: Users who have attempted to login to the Deployment Console with security enabled prior to this fix will have users incorrectly cached in the database. These users must be removed from the securityuser table. To remove these users run the following query against the SQL server:
DELETE FROM securityuser WHERE ad_user = 1 AND user_guid = ''
3) Replace Express.exe: Replace the original express.exe included in SP2 with the express.exe attached to this knowledgebase article.
4) Appy License to Express.exe: Open the license tool under your Deployment Server program files directory. (License.exe) Run the tool to license the express.exe with all applicable licenses.
Note 1: This executable has been through the official Symantec Hotfix process and is supported by Symantec Support Services.
Note 2: No services need to be stopped to affect this change. Only verify that console users have closed any remote sessions to the console. For locally installed consoles, this exe will need to be deployed via DS or NS once licensed.
Note 3: Changes made to express.exe in KB 38727 are also included in the express.exe attached to this KB.