Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Untanglit
    Join Date
    Mar 2017
    Posts
    24

    Question Struggling with getting actual user names to show

    In my dashboards it show 'top username usage' as my domain admin account, no other AD accounts, but having configuration and looked through settings, it looks to be fine. What I have and done

    1) Two domain controllers, primary and secondary, where the first syncs to the backup, both DHCP and DNS
    2) Installed Untangle AD connector on both ADs
    3) On Untangle setup AD connector pointing to AD server as my domain (domain.local). Validated connection and usernames are pulled from AD

    Still only AD admin account showing as logged on/generating traffic, desktops or server

    Next step

    1) Setup on Primary DC login script downloaded from with untangle. Following the instructions to configure AD correctly for Group Policy
    2) Issued gpupdate /force on DC's and endpoint. No joy!

    What am I missing here?

    I also have multiple 'racks' all with directory connector installed and the configuration matches 'my default' as they inherit from 'my default'. Just an FYI
    Last edited by RobG303; 09-18-2017 at 10:14 AM.

  2. #2
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    Do you see the API events in the reports?
    If you don't step one is getting the API calls working.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Untanglit
    Join Date
    Mar 2017
    Posts
    24

    Default

    Quote Originally Posted by dmorris View Post
    Do you see the API events in the reports?
    If you don't step one is getting the API calls working.
    What i see in the reports, so it appears to be working

    1)

    Directory Connector Summary
    A summary of Directory Connector actions.
    Current Data
    Settings
    Directory Connector processed 128 logins.

    2) the API Events shows 'action' update with current timestamp, but only showing the domain admin account as the username

  4. #4
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    Quote Originally Posted by RobG303 View Post
    2) the API Events shows 'action' update with current timestamp, but only showing the domain admin account as the username
    You mean its setting everyone's username to the admin account?

    The script is probably being run as admin then...
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  5. #5
    Untanglit
    Join Date
    Mar 2017
    Posts
    24

    Default

    Quote Originally Posted by dmorris View Post
    You mean its setting everyone's username to the admin account?

    The script is probably being run as admin then...
    Correct.. username is the API Events is showing as the domain admin account. The Directory connector is running on both DC's, I'm guessing under the admin account. It makes sense to me atleast the admin account is logged being used on my Servers for authentication, but my workstations are also showing the 'admin account' and not the actual user outside of the admin account (if that makes sense)

  6. #6
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    The script just grabs the active user and sends it to the API.
    You can read in the script how it works.

    Basically it runs "QWINSTA.exe" and reads the username out of there.
    If you run that on the machine what is your output?
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  7. #7
    Untanglit
    Join Date
    Mar 2017
    Posts
    24

    Default

    When i run the user_notification script locally on a workstation, where are the log locations? Or, should I see updates in the API Events for Directory Connector with the results?

  8. #8
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    Yes, you should see it in the API events.
    If its not there its not calling the API correctly (or the API is disabled or the secret key is wrong or something like that)
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  9. #9
    Untanglit
    Join Date
    Mar 2017
    Posts
    24

    Default

    I checked the API Events and it's still showing the domain admin account. I confirmed the API is enabled. I'll test with a password and see if that makes a difference

  10. #10
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    Quote Originally Posted by dmorris View Post

    Basically it runs "QWINSTA.exe" and reads the username out of there.
    If you run that on the machine what is your output?
    .
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2