Solved: Login failed. The login is from an untrusted domain and cannot be used with Integrated authentication.

"Tille, Andreas" <[email protected]> Mon, 4 Mar 2019 14:44:27 +0000
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi,
(sorry form my late reply but I had no access to the server in question)

At Wed, 27. February 2019 09:50 you wrote
> 8.0? Still? See http://www.freetds.org/userguide/choosingtdsprotocol.htm.
> Also check http://www.freetds.org/userguide/freetdsconf.htm.

OK, I now changed to:

diff --git a/freetds/freetds.conf b/freetds/freetds.conf
index f38864b..fc1dac0 100644
--- a/freetds/freetds.conf
+++ b/freetds/freetds.conf
@@ -11,7 +11,7 @@
 [global]
         # TDS protocol version
 ;      tds version = 4.2
-       tds version = 8.0
+       tds version = 7.4
        client charset = UTF-8
        encryption = require
 
(it just worked before all the time with 8.0 - so no need to change anything ...)

> One option that could make a difference is also "use ntlmv2", try to set to
> yes or no (in Debian the default should be still no).

Setting this to "yes" was the final clue.

Thanks a lot for your quick help

    Andreas.