Map samba shares as windows network drives automatically?


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.

Who is Participating?
j2Connect With a Mentor Commented:
Sure. Just set up the samba to handle encrypted passwords, and then write a loginscript for the clients. (note that windows scripting isnt as flexible as novell scripting, so you might want to deply KIXstart (or KIX32) as a script handler)
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


If you want to see more info type NET /? at a DOS prompt.
andersnAuthor Commented:
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?

All Courses

From novice to tech pro — start learning today.