Networking Forums

Networking Forums > Computer Networking > Windows Networking > How to access a server without entering a domain for a username

Reply
Thread Tools Display Modes

How to access a server without entering a domain for a username

 
 
=?Utf-8?B?Q3liZXJEaWdnZXI=?=
Guest
Posts: n/a

 
      01-07-2005, 03:55 AM
I have two computers, client and server. The client is running Windows 2000
Professional and is in a workgroup, say "MyWorkgroup". The server is running
Windows Server 2003 Standard Edition and is in a domain, say "MyDomain".
From the client, I want to access resources on the server without specifying
any domain, i.e. not using the format domain\username or the UPN format for
the username.

What I did was that I created a local user on the client with the same
username and password as a domain user on the server. Then I tried to access
resources on the server, let's say a share folder on the server that can be
accessed by all domain users, from the client using Windows Explorer by
entering just the username and password. I saw the request came over to the
server with the correct username and password. However, the server posts an
account logon failure event into the EventLog, because it doesn't know to
look for that username in the server's domain. If I type in domain\user and
the password, I get to the share folder fine, but if I just type in the
username without the domain and then the password, it fails. Is there a way
in Windows to tell it to look for users on the server's domain if one is not
specified?

This is a scenario I want to get it to work such that I can later
programmatically access resources (like share folder, SQL Server, etc.) on
the server from the client by only providing a username and password that has
a corresponding domain user on the server with exactly the same username and
password.
 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a

 
      01-07-2005, 11:36 AM
On Thu, 6 Jan 2005 20:55:04 -0800, "CyberDigger"
<(E-Mail Removed)> wrote:

>I have two computers, client and server. The client is running Windows 2000
>Professional and is in a workgroup, say "MyWorkgroup". The server is running
>Windows Server 2003 Standard Edition and is in a domain, say "MyDomain".
>From the client, I want to access resources on the server without specifying
>any domain, i.e. not using the format domain\username or the UPN format for
>the username.


Put the two systems in the same domain (a less reliable trick is using
a workgroup the same name as the domain name).

Jeff
 
Reply With Quote
 
=?Utf-8?B?Q3liZXJEaWdnZXI=?=
Guest
Posts: n/a

 
      01-07-2005, 03:35 PM
Jeff,

Thanks for the reply. But that's the constraint. I am not allowed to put
them in the same domain or workgroup.

CyberDigger

"Jeff Cochran" wrote:

> On Thu, 6 Jan 2005 20:55:04 -0800, "CyberDigger"
> <(E-Mail Removed)> wrote:
>
> >I have two computers, client and server. The client is running Windows 2000
> >Professional and is in a workgroup, say "MyWorkgroup". The server is running
> >Windows Server 2003 Standard Edition and is in a domain, say "MyDomain".
> >From the client, I want to access resources on the server without specifying
> >any domain, i.e. not using the format domain\username or the UPN format for
> >the username.

>
> Put the two systems in the same domain (a less reliable trick is using
> a workgroup the same name as the domain name).
>
> Jeff
>

 
Reply With Quote
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      01-08-2005, 04:41 AM
CyberDigger wrote:
> Jeff,
>
> Thanks for the reply. But that's the constraint. I am not allowed
> to put them in the same domain or workgroup.


I think you're out of luck, then. You have domain security in place for a
reason.

>
> CyberDigger
>
> "Jeff Cochran" wrote:
>
>> On Thu, 6 Jan 2005 20:55:04 -0800, "CyberDigger"
>> <(E-Mail Removed)> wrote:
>>
>>> I have two computers, client and server. The client is running
>>> Windows 2000 Professional and is in a workgroup, say "MyWorkgroup".
>>> The server is running Windows Server 2003 Standard Edition and is
>>> in a domain, say "MyDomain". From the client, I want to access
>>> resources on the server without specifying any domain, i.e. not
>>> using the format domain\username or the UPN format for the username.

>>
>> Put the two systems in the same domain (a less reliable trick is
>> using a workgroup the same name as the domain name).
>>
>> Jeff



 
Reply With Quote
 
Steve Riley [MSFT]
Guest
Posts: n/a

 
      01-08-2005, 04:59 AM
There's really no other way to do what you're asking. The security principal
"username" is not the same as the principal "domainname\username." When you
present "username" to a resource, the resource will only check its local
account database. Since there is no account "username" in that local database,
authentication fails. You will have to supply the full "domainname\username"
since that is, in fact, the actual name of the security principal you want
to authenticate.

Steve Riley
(E-Mail Removed)



> Jeff,
>
> Thanks for the reply. But that's the constraint. I am not allowed to
> put them in the same domain or workgroup.
>
> CyberDigger
>
> "Jeff Cochran" wrote:
>
>> On Thu, 6 Jan 2005 20:55:04 -0800, "CyberDigger"
>> <(E-Mail Removed)> wrote:
>>> I have two computers, client and server. The client is running
>>> Windows 2000 Professional and is in a workgroup, say "MyWorkgroup".
>>> The server is running Windows Server 2003 Standard Edition and is in
>>> a domain, say "MyDomain". From the client, I want to access
>>> resources on the server without specifying any domain, i.e. not
>>> using the format domain\username or the UPN format for the username.
>>>

>> Put the two systems in the same domain (a less reliable trick is
>> using a workgroup the same name as the domain name).
>>
>> Jeff
>>



 
Reply With Quote
 
 
 
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how i can let one Username logon to domain? Tark Siala Wireless Networks 4 04-25-2006 03:30 PM
Windows XP profiles and Server 2003 (username.000 instead of username.domain) Herm Windows Networking 2 02-10-2005 11:05 AM
Can many domain clients use same username? Windows Networking 6 05-21-2004 01:36 PM
Access was denied because the username and/or password was invalid on the domain Lan Windows Networking 7 04-12-2004 04:54 PM
Win 98 - Username & Password to an NT Domain EJL Windows Networking 1 09-20-2003 06:10 AM



1 2 3 4 5 6 7 8 9 10 11