Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2022
    Posts
    2

    SQL server does not seem to know who is in an AD group when the connection comes from Access ODBC

    We are running an older Access application. ODBC connections are set up and individual AD user accounts have access to the data on the sql server. We set up new AD groups for these individuals with the same access and they get failed odbc connections. If I put the user's AD account back in SQL Server it works fine. Does anyone know if this should work? The AD Group through Access to SQL? It seems the group member is not making it to SQL. Thank you.

  2. #2
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114
    And the ODBC connection in Access uses the right (Windows) authentication, right? Can you inspect the connection string (open any linked table in design view and go to properties or look into the Connect field of the msysObjects system table) to see if everything looks OK?

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  3. #3
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,043
    If you have created new Accounts on the SQL server, you need to remove the database users and create new users with the new accounts because the old PID's don't match anymore.

  4. #4
    Join Date
    Apr 2022
    Posts
    2
    The ODBC connection in Access is using Windows Authentication. We are trying to clean up our sql logins so we created groups. The ADuser account Domain\userA is in the AD group Domain\SQLUsers with the appropriate rights to the sql db's. When we remove the individual account Domain\userA from SQL Server logins the ODBC connection fails even though the group the user belongs to is correct. It makes no sense.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 10-23-2019, 09:07 PM
  2. Replies: 1
    Last Post: 08-16-2019, 09:02 AM
  3. Replies: 1
    Last Post: 06-25-2018, 04:15 PM
  4. Replies: 5
    Last Post: 12-16-2015, 02:23 PM
  5. Replies: 0
    Last Post: 03-08-2012, 03:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums