Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Networking & Sharing

Notices

Reply

Connecting to a remote instance of SQL Server from a non-domain cl

 

LinkBack Thread Tools Display Modes
Old 11-19-2007, 08:00 PM   #1 (permalink)
Default Connecting to a remote instance of SQL Server from a non-domain cl

In Windows XP there was a feature for managing network passwords which
allowed machines that were not members of the domain to use domain
credentials to access domain resources, which I have used to connect to SQL
Server(s) since I am a consultant that has many clients, I do not join my
machine to any domain. However, when I tried to use this same feature in
Windows Vista (Ultimate) it only allowed me to connect to file share
resources, and SQL Server Analysis Services, but it did not let me connect to
SQL Server Database Engine service. I keep getting "Login failed for user
(null)..." The error code was 18452. Please let me know if this is a bug in
Vista. I need to be able to connect to SQL Server using Windows
Authentication from a computer that does not exist on a domain and the SQL
Server does.
pietrzbm
Guest
 
Posts: n/a
Reply With Quote  
Old 11-20-2007, 12:23 AM   #2 (permalink)
Default Re: Connecting to a remote instance of SQL Server from a non-domain cl

If your credentials are not being passed to the SQL server, you will receive
error code was 18452. Which feature do you use to pass credentials to access
domain resources?
--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com


"pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
news:96D532EF-435E-48FB-A64A-168E28E7F535@microsoft.com...
Quote:
> In Windows XP there was a feature for managing network passwords which
> allowed machines that were not members of the domain to use domain
> credentials to access domain resources, which I have used to connect to
> SQL
> Server(s) since I am a consultant that has many clients, I do not join my
> machine to any domain. However, when I tried to use this same feature in
> Windows Vista (Ultimate) it only allowed me to connect to file share
> resources, and SQL Server Analysis Services, but it did not let me connect
> to
> SQL Server Database Engine service. I keep getting "Login failed for user
> (null)..." The error code was 18452. Please let me know if this is a bug
> in
> Vista. I need to be able to connect to SQL Server using Windows
> Authentication from a computer that does not exist on a domain and the SQL
> Server does.
Robert L. \(MS-MVP\)
Guest
 
Posts: n/a
Reply With Quote  
Old 11-20-2007, 12:41 PM   #3 (permalink)
Default Re: Connecting to a remote instance of SQL Server from a non-domai

I was trying to use the "Manage Network Passwords" feature to pass the domain
credentials. This used to work fine in Windows XP. All you had to do was go
into "Manage Network Passwords" then enter the following:

Server: Domain Server (ServerA)
UserName: Domain\userName
Password: Password

Then when using Windows Authentication in SQL Server Management Studio, it
would use these credentials to gain access to that server without actually
having to have the client machine be a member of the domain. I have seen
various posts about this issue, and it appears that it may be in how Vista
handles access to the token. Is there some setting(s) that need to be
changed? Basically, when I try to do this in Vista it only allows access to
file shares and does not seem to allow client applications to use the
credentials to access domain resources like XP did.
"Robert L. (MS-MVP)" wrote:
Quote:
> If your credentials are not being passed to the SQL server, you will receive
> error code was 18452. Which feature do you use to pass credentials to access
> domain resources?
> --
> Bob Lin, MS-MVP, MCSE & CNE
> Networking, Internet, Routing, VPN Troubleshooting on
> http://www.ChicagoTech.net
> How to Setup Windows, Network, VPN & Remote Access on
> http://www.HowToNetworking.com
>
>
> "pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
> news:96D532EF-435E-48FB-A64A-168E28E7F535@microsoft.com...
Quote:
> > In Windows XP there was a feature for managing network passwords which
> > allowed machines that were not members of the domain to use domain
> > credentials to access domain resources, which I have used to connect to
> > SQL
> > Server(s) since I am a consultant that has many clients, I do not join my
> > machine to any domain. However, when I tried to use this same feature in
> > Windows Vista (Ultimate) it only allowed me to connect to file share
> > resources, and SQL Server Analysis Services, but it did not let me connect
> > to
> > SQL Server Database Engine service. I keep getting "Login failed for user
> > (null)..." The error code was 18452. Please let me know if this is a bug
> > in
> > Vista. I need to be able to connect to SQL Server using Windows
> > Authentication from a computer that does not exist on a domain and the SQL
> > Server does.
>
pietrzbm
Guest
 
Posts: n/a
Reply With Quote  
Old 11-20-2007, 01:25 PM   #4 (permalink)
Default Re: Connecting to a remote instance of SQL Server from a non-domai

Is the Vista the member of a domain or standalone computer? Try this
command: net use \\sqlservername /u:domainname/username. Does that work?
Please post back with the result.

--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com


"pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
news:142253D1-46D8-49DA-AD55-EDC5BC7E2B80@microsoft.com...
Quote:
>I was trying to use the "Manage Network Passwords" feature to pass the
>domain
> credentials. This used to work fine in Windows XP. All you had to do was
> go
> into "Manage Network Passwords" then enter the following:
>
> Server: Domain Server (ServerA)
> UserName: Domain\userName
> Password: Password
>
> Then when using Windows Authentication in SQL Server Management Studio, it
> would use these credentials to gain access to that server without actually
> having to have the client machine be a member of the domain. I have seen
> various posts about this issue, and it appears that it may be in how Vista
> handles access to the token. Is there some setting(s) that need to be
> changed? Basically, when I try to do this in Vista it only allows access
> to
> file shares and does not seem to allow client applications to use the
> credentials to access domain resources like XP did.
> "Robert L. (MS-MVP)" wrote:
>
Quote:
>> If your credentials are not being passed to the SQL server, you will
>> receive
>> error code was 18452. Which feature do you use to pass credentials to
>> access
>> domain resources?
>> --
>> Bob Lin, MS-MVP, MCSE & CNE
>> Networking, Internet, Routing, VPN Troubleshooting on
>> http://www.ChicagoTech.net
>> How to Setup Windows, Network, VPN & Remote Access on
>> http://www.HowToNetworking.com
>>
>>
>> "pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
>> news:96D532EF-435E-48FB-A64A-168E28E7F535@microsoft.com...
Quote:
>> > In Windows XP there was a feature for managing network passwords which
>> > allowed machines that were not members of the domain to use domain
>> > credentials to access domain resources, which I have used to connect to
>> > SQL
>> > Server(s) since I am a consultant that has many clients, I do not join
>> > my
>> > machine to any domain. However, when I tried to use this same feature
>> > in
>> > Windows Vista (Ultimate) it only allowed me to connect to file share
>> > resources, and SQL Server Analysis Services, but it did not let me
>> > connect
>> > to
>> > SQL Server Database Engine service. I keep getting "Login failed for
>> > user
>> > (null)..." The error code was 18452. Please let me know if this is a
>> > bug
>> > in
>> > Vista. I need to be able to connect to SQL Server using Windows
>> > Authentication from a computer that does not exist on a domain and the
>> > SQL
>> > Server does.
>>
Robert L. \(MS-MVP\)
Guest
 
Posts: n/a
Reply With Quote  
Old 11-20-2007, 01:48 PM   #5 (permalink)
Default Re: Connecting to a remote instance of SQL Server from a non-domai

The result of the command was:

"The command completed successfully."

I want to thank you for taking the time to help with this issue. I will try
and continue to explain the detailed problem as this is an important issue
for my group as we do a lot of work with SQL Server and we don't join our
machines to every domain we work in, so this feature that was working in XP
is very important.

No, the client machine is not a member of the domain. Basically, one of my
questions is how has the functionality changed in the use of "Managed
Passwords" between XP and Vista. If I set a managed password up in Vista it
does allow my non-domain connected machined to access shares, but does not
allow mgmt studio to access the database. I can connect to the domain server
file systems fine. Also, the Managed Password does seem to work with SQL
Analysis Services. It appears to be a problem when trying to connect to the
database engine. By the way, the SQL Server is set for mixed mode
authentication and SQL logins work. I just can't get the mgmt studio to use
integrated security even though I have set up a managed password just like I
did in XP. This only doesn't work with Vista.

"Robert L. (MS-MVP)" wrote:
Quote:
> Is the Vista the member of a domain or standalone computer? Try this
> command: net use \\sqlservername /u:domainname/username. Does that work?
> Please post back with the result.
>
> --
> Bob Lin, MS-MVP, MCSE & CNE
> Networking, Internet, Routing, VPN Troubleshooting on
> http://www.ChicagoTech.net
> How to Setup Windows, Network, VPN & Remote Access on
> http://www.HowToNetworking.com
>
>
> "pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
> news:142253D1-46D8-49DA-AD55-EDC5BC7E2B80@microsoft.com...
Quote:
> >I was trying to use the "Manage Network Passwords" feature to pass the
> >domain
> > credentials. This used to work fine in Windows XP. All you had to do was
> > go
> > into "Manage Network Passwords" then enter the following:
> >
> > Server: Domain Server (ServerA)
> > UserName: Domain\userName
> > Password: Password
> >
> > Then when using Windows Authentication in SQL Server Management Studio, it
> > would use these credentials to gain access to that server without actually
> > having to have the client machine be a member of the domain. I have seen
> > various posts about this issue, and it appears that it may be in how Vista
> > handles access to the token. Is there some setting(s) that need to be
> > changed? Basically, when I try to do this in Vista it only allows access
> > to
> > file shares and does not seem to allow client applications to use the
> > credentials to access domain resources like XP did.
> > "Robert L. (MS-MVP)" wrote:
> >
Quote:
> >> If your credentials are not being passed to the SQL server, you will
> >> receive
> >> error code was 18452. Which feature do you use to pass credentials to
> >> access
> >> domain resources?
> >> --
> >> Bob Lin, MS-MVP, MCSE & CNE
> >> Networking, Internet, Routing, VPN Troubleshooting on
> >> http://www.ChicagoTech.net
> >> How to Setup Windows, Network, VPN & Remote Access on
> >> http://www.HowToNetworking.com
> >>
> >>
> >> "pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
> >> news:96D532EF-435E-48FB-A64A-168E28E7F535@microsoft.com...
> >> > In Windows XP there was a feature for managing network passwords which
> >> > allowed machines that were not members of the domain to use domain
> >> > credentials to access domain resources, which I have used to connect to
> >> > SQL
> >> > Server(s) since I am a consultant that has many clients, I do not join
> >> > my
> >> > machine to any domain. However, when I tried to use this same feature
> >> > in
> >> > Windows Vista (Ultimate) it only allowed me to connect to file share
> >> > resources, and SQL Server Analysis Services, but it did not let me
> >> > connect
> >> > to
> >> > SQL Server Database Engine service. I keep getting "Login failed for
> >> > user
> >> > (null)..." The error code was 18452. Please let me know if this is a
> >> > bug
> >> > in
> >> > Vista. I need to be able to connect to SQL Server using Windows
> >> > Authentication from a computer that does not exist on a domain and the
> >> > SQL
> >> > Server does.
> >>
>
pietrzbm
Guest
 
Posts: n/a
Reply With Quote  
Old 11-20-2007, 08:08 PM   #6 (permalink)
Default Re: Connecting to a remote instance of SQL Server from a non-domai

Standalone Vista doesn't work as XP standalone computer in domain network.
To test it, you may want to disable UAC (we don't recommend it, but just for
a test).

How to disable UAC in Vista
http://www.howtonetworking.com/vista/vistasecurity.htm

--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com


"pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
news:ED7DC376-82EF-4CAF-A0FD-9070B0A8A077@microsoft.com...
Quote:
> The result of the command was:
>
> "The command completed successfully."
>
> I want to thank you for taking the time to help with this issue. I will
> try
> and continue to explain the detailed problem as this is an important issue
> for my group as we do a lot of work with SQL Server and we don't join our
> machines to every domain we work in, so this feature that was working in
> XP
> is very important.
>
> No, the client machine is not a member of the domain. Basically, one of
> my
> questions is how has the functionality changed in the use of "Managed
> Passwords" between XP and Vista. If I set a managed password up in Vista
> it
> does allow my non-domain connected machined to access shares, but does not
> allow mgmt studio to access the database. I can connect to the domain
> server
> file systems fine. Also, the Managed Password does seem to work with SQL
> Analysis Services. It appears to be a problem when trying to connect to
> the
> database engine. By the way, the SQL Server is set for mixed mode
> authentication and SQL logins work. I just can't get the mgmt studio to
> use
> integrated security even though I have set up a managed password just like
> I
> did in XP. This only doesn't work with Vista.
>
> "Robert L. (MS-MVP)" wrote:
>
Quote:
>> Is the Vista the member of a domain or standalone computer? Try this
>> command: net use \\sqlservername /u:domainname/username. Does that work?
>> Please post back with the result.
>>
>> --
>> Bob Lin, MS-MVP, MCSE & CNE
>> Networking, Internet, Routing, VPN Troubleshooting on
>> http://www.ChicagoTech.net
>> How to Setup Windows, Network, VPN & Remote Access on
>> http://www.HowToNetworking.com
>>
>>
>> "pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
>> news:142253D1-46D8-49DA-AD55-EDC5BC7E2B80@microsoft.com...
Quote:
>> >I was trying to use the "Manage Network Passwords" feature to pass the
>> >domain
>> > credentials. This used to work fine in Windows XP. All you had to do
>> > was
>> > go
>> > into "Manage Network Passwords" then enter the following:
>> >
>> > Server: Domain Server (ServerA)
>> > UserName: Domain\userName
>> > Password: Password
>> >
>> > Then when using Windows Authentication in SQL Server Management Studio,
>> > it
>> > would use these credentials to gain access to that server without
>> > actually
>> > having to have the client machine be a member of the domain. I have
>> > seen
>> > various posts about this issue, and it appears that it may be in how
>> > Vista
>> > handles access to the token. Is there some setting(s) that need to be
>> > changed? Basically, when I try to do this in Vista it only allows
>> > access
>> > to
>> > file shares and does not seem to allow client applications to use the
>> > credentials to access domain resources like XP did.
>> > "Robert L. (MS-MVP)" wrote:
>> >
>> >> If your credentials are not being passed to the SQL server, you will
>> >> receive
>> >> error code was 18452. Which feature do you use to pass credentials to
>> >> access
>> >> domain resources?
>> >> --
>> >> Bob Lin, MS-MVP, MCSE & CNE
>> >> Networking, Internet, Routing, VPN Troubleshooting on
>> >> http://www.ChicagoTech.net
>> >> How to Setup Windows, Network, VPN & Remote Access on
>> >> http://www.HowToNetworking.com
>> >>
>> >>
>> >> "pietrzbm" <pietrzbm@discussions.microsoft.com> wrote in message
>> >> news:96D532EF-435E-48FB-A64A-168E28E7F535@microsoft.com...
>> >> > In Windows XP there was a feature for managing network passwords
>> >> > which
>> >> > allowed machines that were not members of the domain to use domain
>> >> > credentials to access domain resources, which I have used to connect
>> >> > to
>> >> > SQL
>> >> > Server(s) since I am a consultant that has many clients, I do not
>> >> > join
>> >> > my
>> >> > machine to any domain. However, when I tried to use this same
>> >> > feature
>> >> > in
>> >> > Windows Vista (Ultimate) it only allowed me to connect to file share
>> >> > resources, and SQL Server Analysis Services, but it did not let me
>> >> > connect
>> >> > to
>> >> > SQL Server Database Engine service. I keep getting "Login failed
>> >> > for
>> >> > user
>> >> > (null)..." The error code was 18452. Please let me know if this is
>> >> > a
>> >> > bug
>> >> > in
>> >> > Vista. I need to be able to connect to SQL Server using Windows
>> >> > Authentication from a computer that does not exist on a domain and
>> >> > the
>> >> > SQL
>> >> > Server does.
>> >>
>>
Robert L. \(MS-MVP\)
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
How do i make a win xp pro computer a domain server? So that my other computers can join its domain. Guest Windows NT/2000/XP 0 03-08-2008 06:41 AM
DOMAIN LOGIN: Authentification server unavailable in remote location Louis Windows Vista Administration 0 02-21-2007 01:45 AM
Not connecting to domain AD Cedric Windows XP Embedded 1 02-16-2004 01:09 PM
connecting to terminal server via remote desktop connection Jeff Curtiss Windows XP Setup 0 09-16-2003 03:01 PM
Windows XP and Profiles when connecting to a Domain on Win 2000 Server Monica Windows XP Basics 1 09-10-2003 08:36 PM


All times are GMT. The time now is 12:10 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90