Troubleshooting

Untangle Active Directory Logon Script adlogon_user.vbs not mapping usernames

Untangle Active Directory Logon Script adlogon_user.vbs not mapping usernames

If you are using the paid version of Untangle, one of the powerful features that comes with the paid modules is the Directory Connector. ย This module allows policies and other restrictions, priorities, etc, to be levied based on group membership or even specific usernames. ย To implement this feature however, you must use the “adlogon_user.vbs” login script that can be downloaded from within the Directory Connector module itself.

Recently, in working with a client who was using the Directory connector, it was noticed that the login script would run, however, no username mapping was done inside of the Directory Connector module under the Username Map (Current) under the status tab. ย There were no errors with the login script running and everything appeared to be working fine.

connector1

 

connector2

Resolution

The problem turned out to be in the actual login script itself. ย The URL_PREFIX of the default adlogon_user.vbs file contains the line:

URL_PREFIX = “http”

After changing this line to URL_PREFIX = “https”ย the logon script once again started populating the username map inside of the Directory Connector. ย We are not sure why this broke midstream as the default adlogon_user.vbs file worked for months without alteration. ย Evidently, the change to the SSL port needed to be made in this environment. ย However, if you run into this issue in your particular environment, try changing this line in the adlogon_user.vbs script as this can definitely resolve the issue of the username mapping problem in various environments.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.