LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-14-2010, 03:17 PM   #1
willy_gn
LQ Newbie
 
Registered: Jun 2010
Posts: 9

Rep: Reputation: Disabled
mapped network drive requires password after loggong out


Hello,
I have a peer-to-peer network with 25 WinXP Pro computers. I have built a Linux (SuSE) server for the purpose of backing up My Documents, PST files and favourites. Each user has their own folder containing the sync'd files. Each folder is password protected. I have configured each users machine with a mapped 'S' drive, which is the sync'd data folder on the Linux computer. All of the computers seem to end up with a "disconnected network drive" status after either logging out for the day or after some time has elapsed. Some will connect with a double click but others prompt for a password. I have tried mapping the drive using the option "Connect using a different user name", which is fine until the user logs out and back in again. I use SyncToy as a scheduled task, but can't connect to these mapped drives automatically, so the sync process will not work unattended.

thank you
willy_gn
 
Old 06-15-2010, 03:46 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
"Map Network Drive" also has a checkbox to make the mapping persistent after log-out (or re-boot).

Internally, all it does is execute the "net use" command (which has options to specify user account, /PERSISTENT option to make
it persist after logout, etc).

Go to command prompt, and use
Code:
net use /?
to find out more.
 
Old 06-15-2010, 05:04 PM   #3
JohnFluter
LQ Newbie
 
Registered: May 2009
Posts: 19

Rep: Reputation: 3
Hi

I have a similar problem with my windows network. When all the boxes were win98se everything stayed 'alive'. Now that the boxes are winxp sp3 the network drive connections 'die' but can be revived by double clicking them in explorer.

I put it down to microsoft 'progress'.

John
 
Old 06-16-2010, 02:02 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
In my limited understanding, that's partly because of the way the Samba (SMB) protocol works (in addition to being Windows'fault).
Unlike NFS, the client-server connection is not expected to be kept up all the time (e.g. NFS links will block until they come back up; Samba is more "lazy").

The "net use" command can be used from command line to establish mapped drives (e.g. you could disconnect - reconnect with username/password).
It works on the windows command prompt, so it can be automated (wsh script, .bat file,...).

If the drive is already mapped and is just temporarily de-activated (after an idle period), I suppose you could also write a .bat file that would change to the drive, cd to a folder and do a "dir" (ls-like) command just to resurrect it, no?

The requirement to put in the username/password shouldn't happen, unless you logoff/logon or reboot - and in both these case a logon script that calls "net use" would be an automated solution.

I use SyncToy as well, but mainly to back-up some network drive files on my local drive to continue working at home. I run it manually, as I dislike automated backups when I logoff (in which case the standard backup soft may be a better choice). So I guess it can depend on the sync strategy you're after...
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Boot from same mapped drive, regardless of USB drive? charlweed Linux - General 8 02-26-2010 12:27 PM
Network device Memory mapped or Port mapped ?? Bignon Linux - Hardware 0 10-20-2009 08:36 AM
Samba, Vista, Mapped Drives, and change password prompt mrog Linux - Networking 2 09-30-2008 08:01 AM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration