Novell is now a part of Micro Focus

Passing Domain/Username via Net Use

Novell Cool Solutions: Tip
By Julian Benson

Digg This - Slashdot This

Posted: 29 Nov 2006


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.


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!


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

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates