Setting samba to force mounts?

Rombus

2[H]4U
Joined
Oct 12, 2001
Messages
3,285
Im in the process of setting up a samba server for a project and im trying to figure out if there is a way to force windows to mount samba drives when a user logs in?

Im using it as a PDC if that makes a difference. Ive been looking for a few days, but i imagine im just not getting my wording right on the searches.

If i cant set this up by the smb.conf file, is there a way i can make a script that runs on login to do so? Essentially i dont want to go around to every workstation and mount a new share if i decided to add a new share.
 
Of course after i post here i stumbled across how to do it via scripts, and this seems like it will be the easiest way.

Incase anyone searches, the command your want to use in the script is:
NET USE Z: \\share\name\here
 
Back
Top