Technical Tip

Passing Domain/Username via Net Use

tip
Reads:

396

Score:
0
0
 
Comments:

0

Problem

When you use "Net Use" to map drives in the login script to Microsoft shares only, it passes Username, not Domain/Username. This presents an issue to users/establishments who do not join an Active Directory domain but are members of workgroups with accounts in AD.

I noticed that on the PDC/BDC's this was not an issue, as it would check the username against AD. However, member servers would check locally then stop.

Solution

In the login script where you would have

#net use u: \\server\share 

you need to change it to:

#net use u: \\server\share /USER:Domain\%LOGIN_NAME

This prefixes your domain name to any requests for services, and the member server then checks your authentication against the domain.

I hope this helps others, as this simple fix took me a while to muster!

Environment

  • Windows 2000/XP
  • Novell Client 4.91sp2/4.91sp3
  • Windows 2000 AD domain




User Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <cite> <code> <img> <ul> <ol> <li> <div> <dl> <dt> <dd> <b> <strong> <h1> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
17 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2008 Novell, Inc. All Rights Reserved.