2014-11-06 3 views
1

현재 설정은 Active Directory로 설정된 Windows MS SQL 서버입니다. Active Directory에 대한 계정이 있습니다. 로그인 할 때 Windows 인증을 사용해야합니다. Linux 상자에서 tsql을 통해 SQL 서버에 연결하려고합니다. 이를 위해, 나는 실행 해요 다음Linux에서 MS SQL DB에 연결하는 중에 인증 오류가 발생했습니다.

locale is "en_US.UTF-8" 
locale charset is "UTF-8" 
using default charset "UTF-8" 
Msg 18452 (severity 14, state 1) from SYMPLECTIC03 Line 1: 
    "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication." 
Error 20002 (severity 9): 
    Adaptive Server connection failed 
There was a problem connecting to the server 

나는 또한 도메인없이 그것을 실행하려고했습니다 :

tsql -S <server> -U <username> 
이 오류 코드와 함께 실패

tsql -S <server> -U <active_direct_domain\\username> 

다음 오류가 발생합니다.

locale is "en_US.UTF-8" 
locale charset is "UTF-8" 
using default charset "UTF-8" 
Msg 18456 (severity 14, state 1) from SYMPLECTIC03 Line 1: 
    "Login failed for user 'username'." 
Error 20002 (severity 9): 
    Adaptive Server connection failed 
There was a problem connecting to the server 

아베 여기서 무슨 일이 일어나고 있는지 전혀 모른다. 필자는 Windows 인증을 통해 tsql을 통해 연결할 수있는 기능이 없지만 Active Directory를 사용하고 있으면 안됩니까? tsql은 Windows 인증을 지원하지 않습니까?

답변

관련 문제