Koozali.org: home of the SME Server

map network drive

wdduncan

map network drive
« on: February 25, 2006, 08:51:48 AM »
Hi I'm a newbie using SME Server 6.0.1-01.  I am having a problem mapping a network drive to a user's folder.  What is cofusing me is that I can map one user's folder, but not the others.  For example,

net use s: \\network addresss\user1  works

net use t: \\network addresss\user2  fails!
error message: "The network name cannot be found"

Why would user1 succeed and user2 fail?  Is there another file I need to modify inorder for user2's directory to be mapped?

Thanks,
Bill

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
map network drive
« Reply #1 on: February 25, 2006, 05:33:43 PM »
If I understand it correctly, you have Windows-clients and your usernames/passwords on the Windows-clients correpond with the usernames/passwords on your SME-server.

To map the "home" drives I use the following command:
Code: [Select]
@net use u: \\sme-server\%Username%
Further I use the:
Code: [Select]
@net time \\mlknas /set /yes
to adjust the time on my clients and
Code: [Select]
@net use w: \\sme-server\general
to map the common drive
Rien
(The Netherlands)......

wdduncan

map network drive
« Reply #2 on: February 25, 2006, 06:10:51 PM »
Yes you are correct, I am trying to map user drives.  I have two accounts, I am trying map from the same computer.  User1 succeeds using the "net use" command, however, User2 fails.  See below.

net use u: \\sme-server\%Username2%

fails with an error:

"The network name could not be found"

Offline JonB

  • *
  • 351
  • +0/-0
map network drive
« Reply #3 on: February 26, 2006, 10:32:35 AM »
Thats correct behaviour. You are obviously logged in to the PC as user1.
User1 does not have permission to view user2's home directory.

Jon
...

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
map network drive
« Reply #4 on: February 26, 2006, 03:38:46 PM »
Quote from: "wdduncan"
 User1 succeeds using the "net use" command, however, User2 fails.  See below.

net use u: \\sme-server\%Username2%

fails with an error:

"The network name could not be found"


The string "%Username%" is a variable that automaticly substitutes %Username% with the real username of the user that logged in. You must not enter the real name of the user here. Just type  %Username%.
Rien
(The Netherlands)......

wdduncan

map network drive
« Reply #5 on: February 27, 2006, 03:45:12 AM »
Yes Rien I understand that %Username% is a variable.  User1 and User2 are not the real user names.