Hi I need to connect to a remote server, this server allows only windows authentication, when I try to connect usign python Im able to log in and run queries using pymssql from my computer on the company domain.
import pymssql
conn = pymssql.connect(
host=r'serverIPaddress',
port=r'1433',
user=r'domain\user',
password='.......',
database='database_name'
)
cursor = conn.cursor()
cursor.execute('SELECT TOP 10 * FROM database table')
for row in cursor:
print('row = %r' % (row,))
conn.close()
when try to access from AWS EC2 im able to connect using the above code, the VPC and security groups have been properly set up, but when I try to copy database by DMS or Glue I dont get access due to log in error, there is a way to provide windows credentials for ODBC driver i've tried already trustedconnection=yes,