Link to home
Start Free TrialLog in
Avatar of andersn
andersn

asked on

Map samba shares as windows network drives automatically?

Greetings.

Presently I have a Novell Netware server to wich Windows clients can login and automatically map network drives as specified in a system login script together with the login script for the actual user. So a user can login on any Windows machine and get his/hers particular mappings as F:, G: ... and so on.
Now I wish to replace that Novell Server with a Linux box running Samba. Can I accomplish the same functionality of automatically mapping specified network drives for a particular Windows user login in on ANY Windows client machine?
And if it can be done, what do I need to do to accomplish that. You don´t need to go inte details (unless You wish to do so), just give me some basic steps as an answer.

  /Anders
ASKER CERTIFIED SOLUTION
Avatar of j2
j2
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
A batch file for the windows machines can do the drive mappings. This can be placed in the start menu - startup. Or I have used this kind of stuff in the desktop shortcuts; they fire a batch file that makes SURE the drive mapping exist for the program to run.

The syntax of the mapping command is

NET USE drive: \\servername\sharename

example - NET USE K: \\BIGSERVER\DATA

If you want to see more info type NET /? at a DOS prompt.
Avatar of andersn
andersn

ASKER

Well, first of all I would like to do as little "Windows hacking" as possible. I defenitely don´t want a scenario where I have to administer separate Windows clients by running around and changing settings locally on the Windows machines. This must be centralized on the Linux server.
Is KIXstart a Windows program? Does it mean working on the separate Windows client if scripting needs to be changed?

I´ve just found out that login scripts can be generated dynamically by Samba for a particular user or group of users. That script will then be downloaded to the Windows machine and executed there.
Do You have any experience of doing this?

  /Anders