January 15, 2014 at 10:16 am
Hello,
I have a project that will use a dedicated domain id, I do not have the password although I can use it to connect to the subject server/db.
I wonder if it is possible to connect to it in SSMS using the dedicated id?
The id is db_datareader
My own id doesn't have access to the server.
Thanks.
January 15, 2014 at 11:13 am
halifaxdal (1/15/2014)
...I do not have the password although I can use it to connect to the subject server/db...
Can you elaborate on how you currently use this ID (account) to connect without having the password?
January 15, 2014 at 11:52 am
I am confused what is what.
Could you rewrite question so that you use terms like database login and domain username?
January 15, 2014 at 12:00 pm
I am working on a Dundas Dashboard project, DD allows user to connect to a database using a different domain id as long as the id's password is pre-inputted into the system.
I do not have password for the id although I can use it, but I can only use it within the DD platform.
What I am asking is if there is a way to connect to the db using that id via SSMS?
I know I can "run as " the SSMS but it will ask me for password so it is not workable.
Maybe it is not possible? I really want to hear your input.
Thanks.
January 15, 2014 at 12:45 pm
Without knowing the password it is not possible. Your only options are to ask your Windows admins for the password or try to extract the password from DD.
January 15, 2014 at 1:06 pm
halifaxdal (1/15/2014)
I am working on a Dundas Dashboard project, DD allows user to connect to a database using a different domain id as long as the id's password is pre-inputted into the system.I do not have password for the id although I can use it, but I can only use it within the DD platform.
What I am asking is if there is a way to connect to the db using that id via SSMS?
I know I can "run as " the SSMS but it will ask me for password so it is not workable.
Maybe it is not possible? I really want to hear your input.
Thanks.
It wouldn't be really secure if you could run applications under another account without knowing the password.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
January 15, 2014 at 2:27 pm
edit: since you don't have access, you couldn't use execute as, sorry.
this solution might depend on whether your application maintains a dedicated connection or just connects and disconnects as needed for data:
can you connect as sa/superuser, and then execute the command EXECUTE AS USER='MyDomain\OtherUser'
then you'd be testing using their credentials right?
disconnecting or issuing the REVERT command would put you back into your superman suit.
I know i test scripts in SSMS like that all the time.
Lowell
January 15, 2014 at 7:07 pm
Thanks for all replies, I think I should forget it
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply