all groups > sql server connect > march 2006 >
You're in the

sql server connect

group:

Workgroups and Windows Authentication (i.e. No Domain)


Workgroups and Windows Authentication (i.e. No Domain) BryanW
3/24/2006 12:20:05 AM
sql server connect:
This is my first venture into MS SQL Server hence the basic question.
Can I use Windows Authentication in a Workgroup (i.e. XP Pro and Simple File
Sharing)?
When I try I get the infamous "Msg 18452, Level 14, State 1, Server
RS02-2006, Line 1 Login failed for user ''. The user is not associated with a
trusted SQL Server connection." when trying to connect from a client
computer.
sqlcmd -S RS02-2006 works from the "server" computer but not from the
"client" computer. I can connect from the "client" using SQL Server
Authentication, e.g. sqlcmd -S RS02-2006 -U sa -P password.
Is it that you cannot be trusted in a Workgroup network?
Thanks
Re: Workgroups and Windows Authentication (i.e. No Domain) Jens
3/25/2006 12:43:28 AM
Hi,

actually no. There was some sort of hack, that you choose the same
account on both servers and use the same password. But it don=B4t know
if that is still possible, but I think this is only some kind of hack
to use. In common, the "server" in a workgroup scenario can=B4t proof
the identity of the logged on user, so this is not possible to use from
within the client. Windows authentication is available but only from
the local server, e.g. logged on with a local Windows user on the
server and then connect to the database. Another option would be to
programmtically use an impersonated context to connect to the server,
but I don=B4t think that this is a sufficient solutions for you.


HTH; Jens Suessmeyer.

---
http://www.sqlerver2005.de
---
Re: Workgroups and Windows Authentication (i.e. No Domain) Sue Hoegemeier
3/26/2006 10:57:53 AM
Not with Simple File Sharing. With Simple File Sharing, the
authentication is done with the guest account only.
If you are using Pro, disable simple file sharing. Then you
will need to have the exact same user name and passwords as
users on all the PCs in the workgroup. You will also need to
adjust your XP firewall settings.

-Sue

On Fri, 24 Mar 2006 00:20:05 -0800, BryanW
[quoted text, click to view]
Re: Workgroups and Windows Authentication (i.e. No Domain) BryanW
3/26/2006 4:44:01 PM
Thank you. When I added a Login for Guest I was able to connect.
--
Thanks


[quoted text, click to view]
Re: Workgroups and Windows Authentication (i.e. No Domain) Sue Hoegemeier
3/27/2006 7:57:50 PM
OK but enabling guest accounts is not a good security
practice. Using SQL logins would be another alternative.

-Sue

On Sun, 26 Mar 2006 16:44:01 -0800, BryanW
[quoted text, click to view]
AddThis Social Bookmark Button