hi,
[quoted text, click to view] Thorgal wrote:
>
> The 2 computers are in the same worgroup, and when i typ
> \\peter-developer I see the server PC and I can get files from it or
> drop files on the PC.
if you are on a workgroup, you can not directly use windows authentication
as it only works with "certified" credentials... this means that local
credentials like PETER-DEVELOPER\Administrators or PETER-DEVELOPER\Users or
PETER-DEVELOPER\Peter (if this Windows account exists) can (potentially)
work as a direct certification is available on the local machine being the
used count member of the local machine as well... the very same works if a
Domain Controller is present in the lan (obviously you are no longer in a
workgroup scenario) as the DC is the appropriate "tool" to certificate
credentials in lan scenarios...
in both secenarios, the account's sid is passed to SQL Server instance which
validates the presence of a corresponding enabled login, both of WinNT group
or WinNT individual account..
[quoted text, click to view] > ....
> Doesn't work ether
>
> You say something about making a new user, I don't understand that,
> could you explain it again please
when you try a remote WindowsNT authenticated connection without the
presence of a Domain Controller, the remote sid corresponding to the remote
account is passed, so credentials for OtherPC\AccountName is remoted...
obviously SQL Server can not validate these credentials and the connection
will be refused...
a dirty workaround is to create, on the SQL Server box, the very same
account (with the very same pwd) of the "remote" user... so you can create
the PETER-DEVELOPER\AccountName ... when connecting from the remote pc, a
sort of netbios inpersonation is performed as a local same account exists on
the SQL Server box... this is not granted to works in the future, as future
OS or even service packs for present OSs can (hopefully) modify this
behaviour...
in workgroup scenarios, the best method is to use standard SQL Server
authentication..
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://italy.mvps.org DbaMgr2k ver 0.20.0 - DbaMgr ver 0.64.0 and further SQL Tools
--------- remove DMO to reply