<div dir="ltr">Thanks Tamas,<div><br></div><div>You are completely right. We misinterpret de code.</div><div>Thanks to the link you provided we now understand we need to use a different connection string:</div><div><font face="monospace, monospace">MSSQL:server=***;database=***;trusted_connection=no;uid=***;pwd=***<br></font></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Thanks,<br>
<br>
Paul<br>
<br>
<div style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div style="border:1px solid #e5e5e5;background-color:#f8f8f8;padding:0.8em 0.8em 0.3em 0.8em"><div style="margin:0 0 8px 0"><p style="margin:0"><span><b><img style="float:left;margin-left:5px;margin-right:5px" src="http://www.bontepaarden.nl/bontepaarden/images/newButton.png" alt="" height="120" width="160">Paul Meems </b><br><span>Release manager, configuration manager</span><br><span>and forum moderator of MapWindow GIS.</span><br><a href="http://www.mapwindow.org/" target="_blank"><span>www.mapwindow.org</span></a><br><br><span>Owner of MapWindow.nl - Support for</span><br><span>Dutch speaking users.</span><br><a href="http://www.mapwindow.nl/" target="_blank"><span>www.mapwindow.nl</span></a><br></span></p>
<p style="margin:0px"><b><br></b></p><p style="font-size:13.3px;margin:0px"><a href="https://mapwingis.codeplex.com/releases" target="_blank">Download the latest MapWinGIS mapping engine.</a><br></p><p style="font-size:13.3px;margin:0px"><span style="font-size:13.3px"><a href="https://mapwindow5.codeplex.com/releases" target="_blank">Download the latest MapWindow 5 open source desktop application.</a></span></p></div></div><img src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=3.9.12&t=1322134056890&u=482737fd0c4ca423" height="1" width="1"></div>
</div></div></div></div></div></div></div>
<br><div class="gmail_quote">2015-12-28 22:18 GMT+01:00 Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Paul,<div><br></div><div>I don't think we are hard coding trusted_connection in the MSSQL connection strings. The UID and PWD is also accepted in the ODBC connection strings according to: <a href="https://msdn.microsoft.com/en-us/library/ms130822.aspx" target="_blank">https://msdn.microsoft.com/en-us/library/ms130822.aspx</a></div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-12-28 22:05 GMT+01:00 Paul Meems <span dir="ltr"><<a href="mailto:bontepaarden@gmail.com" target="_blank">bontepaarden@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I'm trying to connect to a MSSQL database on Azure using a SQL Server user account but I get this from GDAL (v2): <font face="monospace, monospace">Unable to initialize connection to the server for MSSQL:server=***;database=***;user=*** ;password=*** [SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.</font><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>
A co-worker looked at the code of the MSSQL driver and noticed you are using the ODBC drivers, but are hard coding the trusted_connection parameter to be yes.</div><div dir="ltr">Is this by design?</div><div dir="ltr">Should I file a issue report?</div><div dir="ltr"><br></div><div dir="ltr">Thanks,<br><br>
Paul<br>
<br>
<div style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"><div style="border:1px solid rgb(229,229,229);padding:0.8em 0.8em 0.3em;background-color:rgb(248,248,248)"><div style="margin:0px 0px 8px"><p style="margin:0px"><span><b><img style="float:left;margin-left:5px;margin-right:5px" src="http://www.bontepaarden.nl/bontepaarden/images/newButton.png" alt="" height="120" width="160">Paul Meems </b><br><span>Release manager, configuration manager</span><br><span>and forum moderator of MapWindow GIS.</span><br><a href="http://www.mapwindow.org/" target="_blank"><span>www.mapwindow.org</span></a><br><br><span>Owner of MapWindow.nl - Support for</span><br><span>Dutch speaking users.</span><br><a href="http://www.mapwindow.nl/" target="_blank"><span>www.mapwindow.nl</span></a><br></span></p>
<p style="margin:0px"><b><br></b></p><p style="font-size:13.3px;margin:0px"><a href="https://mapwingis.codeplex.com/releases" target="_blank">Download the latest MapWinGIS mapping engine.</a><br></p><p style="font-size:13.3px;margin:0px"><span style="font-size:13.3px"><a href="https://mapwindow5.codeplex.com/releases" target="_blank">Download the latest MapWindow 5 open source desktop application.</a></span></p></div></div><img src="http://p1.wisestamp.com/pixel.png?p=mozilla&v=3.9.12&t=1322134056890&u=482737fd0c4ca423" height="1" width="1"></div>
</div></div></div></div></div></div></div>
</div>
<br></div></div>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>