Home > Windows Server Tips > > Troubleshooting 'Conflicting Credentials' errors between Windows systems
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Troubleshooting 'Conflicting Credentials' errors between Windows systems


Serdar Yegulalp
01.21.2004
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


When Windows NT, 2000, XP and 2003 systems establish connections between each other for file and printer sharing, permissions for those connections are verified by passing a username and password from the client to the server. Many times an attempt to connect from one machine to another is frustrated by an error that reads: The credentials supplied conflict with an existing set of credentials.

When this happens, the logged-in user on the client computer usually does not have a matching account on the server. When the user tries to establish a connection normally (through Explorer), the connection is rejected. He may then try to map the connection to a drive letter by using the Map Network Drive Wizard and supplying different user credentials (the wizard allows this), but on doing so the aforementioned error occurs.

The reason for this: Windows is programmed to reject multiple connections from the same NetBIOS source if more than one set of credentials is supplied from that source. In the above example, attempting to map a drive creates two separate connections: one to determine the presence of the NetBIOS share in the first place (which passes the existing, logged-in user credentials), and another to actually make the connection (which passes the separately-supplied username and password). Microsoft claims this is by design to prevent security problems.

Another common scenario for this problem is when a user attempts to map a drive connection on another computer by using the Map Network Drive or NET USE command, and runs into the same problem.

There are two solutions. The first is to establish proper credentials on either the server or the client -- i.e., create accounts with usernames and passwords that match on both ends. This is the best long-term solution, although there may be cases where it isn't practical -- for example, lack of access to the server.

The second solution is to use the NET USE command to map the connection by using the IP address of the remote machine rather than its NetBIOS name. For example:

NET USE <drivename> \xx.xx.xx.xxshare <password>
/user:<remote_machine><username>

where <drivename> is the drive letter to be mapped, \xx.xx.xx.xxshare is the IP address and share name, <password> the password for the alternate credentials, and <remote_machine> and <username> the name of the remote machine and the user account on that machine to log in as.


Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts