LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-01-2004, 04:33 AM   #1
neranjana
Member
 
Registered: Jul 2003
Location: Sri Lanka
Distribution: Mandrake
Posts: 99

Rep: Reputation: 15
Auto mounting Linux smb share on Windows at startup


Hi

This is a question that really should go to something like WindowsQuestions.org or something.

My problem is, I have a Linux server. It has a few smb shares. I want some programs (services) in one of the windows servers to access these shares. That is possible by mapping the linux share as a drive in windows. But the problem is if the windows server reboots, the shares are not available till somebody logs in. Even if we use the shares without mapping to a drive letter, like \\MyLinuxServer\MyShare, then the windows machine wouldn't have access to the Linux share because the Windows machine doesn't have a user name and a password. Is there a way to enable programs that starts automatically as services in a windows machine to gain access to a shared directory in Linux?

Thanks

Neranjana
 
Old 07-02-2004, 06:56 PM   #2
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
Yes
You can create a batch file ie linux.bat
Put the file in your startup group so that it runs every time the computer starts up
In it use the "net use" command to map the network drive make it persistent if you want
or just set the drive up to reestablish the connection when you logoff there the checkbox for that when you map the drive
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-Mounting a Windows Share On Starup FlamingBee Linux - Networking 30 07-25-2005 08:38 AM
Error Mounting Windows SMB Share plustiber Linux - Networking 1 06-27-2005 12:39 AM
Mounting a SMB Share? owoods Linux - Newbie 2 09-04-2004 08:03 AM
(Windows) Only one Linux box can mount a smb share Artimus General 1 07-21-2004 12:12 PM
mounting linux share point on windows jolu2000 Linux - Software 1 04-18-2003 09:36 AM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration