title: SQL Server Connection with Python PYMSSQL active directory authentication
body: <p>I am trying to connect SQL Server using pymssql package with active directory authentication.   Below is the code.</p>
  <pre class="lang-py prettyprint-override"><code>db = pymssql.connect(server=url, user=r'Domain\user', password=password, database=database)
  cursor = db.cursor()
  </code></pre>
  <p>But it fails with below error:</p>
  <blockquote>
  <p>Error (18452, b'Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.DB-Lib error message 20018, severity 14:\nGeneral SQL Server error: Check messages from the SQL Server\nDB-Lib error message 20002, severity 9:\nAdaptive Server connection failed ()\n')</p>
  </blockquote>
  <p>Python version: Python 3.8.6
  PYMSSQL version: pymssql 2.1.5</p>