Re: BCP/ISQL Trusted connection? [NC]

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
2009/10/28 Cedric ROUVRAIS <[email protected]>:
> Hi,
>
> I am getting the following issue on a linux box:
>
> bash-3.2$ bcp formdb..v_fxo_cre_posted out v_fxo_cre_posted.dat -c -t"|" -S
> MSNYCRDFP01 -U '' -P ''
> Msg 20002, Level 9
> Adaptive Server connection failed
>
> Can't connect to server "MSNYCRDFP01".
>

kerberos setup is not so easy... what says "klist" command. I did
tests using "kinit username@ad_domain" where username is my domain
username while ad_domain is active directory dns domain (uppercase).

> If I put my NT user account and password I get the following
>
> bash-3.2$ bcp formdb..v_fxo_cre_posted out v_fxo_cre_posted.dat -c -t"|" -S
> MSNYCRDFP01 -U 'NT_Domain\\NT_login' -P 'passwordOfAccount'
> Msg 18452, Level 14, State 1
> Server 'VSNYCINSQL30\MSNYCCRS01', Line 1
>        Login failed. The login is from an untrusted domain and cannot be
> used with Windows authentication.
> Msg 18452, Level 14
> General SQL Server error: Check messages from the SQL Server
>
> Msg 20002, Level 9
> Adaptive Server connection failed
>

Are you using 0.82 ? There is a post 0.82 patch which fix an NTLM2 issue.

> Can't connect to server "MSNYCRDFP01".
>
> However if I type id
>
> bash-3.2$ id
> uid=35677(crouvrai)
>
> Where crouvrai is in fact my NT login without the domain.
>
> Thanks for any insight, I also forwarded your response to the unix dudes
> who configured the server, they haven't come back yet.
>
> Cedric
>

bye
  freddy77
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.