rasmus@bellglobal.com wrote:
I am trying to get these boxes to automatically mount a CIFS share when they boot. So far I have only been able to get the share to come up when I log a user in. When the user logs out the share disappears. Not exactly a good thing when you have a web server service running in the background trying to serve up pages directly from this Netapp cifs share.
Aside from the AUTOEXNT.EXE solution that Bruce mentioned, don't overlook the fact that you may not *have* to map network drives at all in order to make things work.
An oft overlooked solution is simply to configure the server software using full UNC pathnames for the location of its working files and directories (usually during installation). So, for example, if you are installing a web server on NT and the installation script gets to asking you about where you would like wwwroot to be located, instead of feeding it say:
N:\WWWROOT
and then worrying about drive N: being mapped to the right place by the time the server starts up, feed it:
\FILERNAME[WEBSHARE]WWWROOT
instead. This can make life much easier down the line.
Keith