Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: wdduncan on February 25, 2006, 08:51:48 AM

Title: map network drive
Post by: wdduncan 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
Title: map network drive
Post by: Rien 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
Title: map network drive
Post by: wdduncan 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"
Title: map network drive
Post by: JonB 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
Title: map network drive
Post by: Rien 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%.
Title: map network drive
Post by: wdduncan 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.