Article

Julian Benson's picture
article
Reads:

7312

Score:
0
0
 
Comments:

0

Passing Domain/Username via Net Use

(View Disclaimer)

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

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell