A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

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



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 19th 07, 08:00 PM posted to microsoft.public.windows.vista.networking_sharing
pietrzbm
external usenet poster
 
Posts: 3
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.
  #2 (permalink)  
Old November 20th 07, 12:23 AM posted to microsoft.public.windows.vista.networking_sharing
Robert L. \(MS-MVP\)
external usenet poster
 
Posts: 481
Default 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" wrote in message
...
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.


  #3 (permalink)  
Old November 20th 07, 12:41 PM posted to microsoft.public.windows.vista.networking_sharing
pietrzbm
external usenet poster
 
Posts: 3
Default 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:

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" wrote in message
...
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.


  #4 (permalink)  
Old November 20th 07, 01:25 PM posted to microsoft.public.windows.vista.networking_sharing
Robert L. \(MS-MVP\)
external usenet poster
 
Posts: 481
Default 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" wrote in message
...
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" wrote in message
...
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.



  #5 (permalink)  
Old November 20th 07, 01:48 PM posted to microsoft.public.windows.vista.networking_sharing
pietrzbm
external usenet poster
 
Posts: 3
Default 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:

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" wrote in message
...
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" wrote in message
...
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.


  #6 (permalink)  
Old November 20th 07, 08:08 PM posted to microsoft.public.windows.vista.networking_sharing
Robert L. \(MS-MVP\)
external usenet poster
 
Posts: 481
Default 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" wrote in message
...
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:

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" wrote in message
...
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" wrote in message
...
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.



 




Thread Tools
Display Modes

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

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



All times are GMT. The time now is 09:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.