Friday, March 9, 2012

OSQL using login in a different domain

I have a server that is on one domain and I need to log into another domain.
I can do it using a standard sql login, but I'd like to do it using a domain
login in that other domain.
For example, the server is in the US domain running under a US domain
account. I want to use osql to log in to a server in the UK domain using a
UK domain account.
Can I do this? How would this look?
When I try osql -Sservername -UUK\login -Ppassword I get a message
that login failed for 'UK\login'.
Thanks,Hello,
You need to create a trunst relationship between domains.
Thanks
Hari
"DML" wrote:

> I have a server that is on one domain and I need to log into another domai
n.
> I can do it using a standard sql login, but I'd like to do it using a doma
in
> login in that other domain.
> For example, the server is in the US domain running under a US domain
> account. I want to use osql to log in to a server in the UK domain using
a
> UK domain account.
> Can I do this? How would this look?
> When I try osql -Sservername -UUK\login -Ppassword I get a messag
e
> that login failed for 'UK\login'.
> Thanks,|||Because of PCI security constraints, I can't create a trust for all domain
accounts. Is there any other way to do this besides the trust or using a
standard sql login?
"Hari Prasad" wrote:
[vbcol=seagreen]
> Hello,
> You need to create a trunst relationship between domains.
> Thanks
> Hari
> "DML" wrote:
>

No comments:

Post a Comment