LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2005, 02:52 PM   #1
sboothman
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Rep: Reputation: 0
Reconnecting a samba maped share in xp


Ok, here it is. I have 1 redhat box (with samba on it) and 1 xp box. I want to share files from the linux box to the xp box using samba. I have done this with no problem. When I log onto my xp machine, I can see all the shares from the samba server. However when I map a drive to one of the samba shares, it allows me to use that. Then I restart the computer, and then can't access the maped drive. If i go into network neighbourhood, I can access the shares that way, and once I have access them onece that way, I can suddenly access the mapped drive again. Anyone got any idea when the maped drive won't reconnect at login, rather than me having to access network neighbourhood first to all it to connect again?
 
Old 01-21-2005, 02:58 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Don't know, maybe there are some settings in Windows to alow that.
 
Old 01-21-2005, 02:59 PM   #3
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
does your xp account use the same username and password as set up in smbpasswd and smb.conf ?
 
Old 01-21-2005, 03:48 PM   #4
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Try making the connection by using net use

eg

net use x: \\server_name\share_name /USER:domain_name\user_name * /PERSISTENT:YES
 
Old 01-21-2005, 05:14 PM   #5
sboothman
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Original Poster
Rep: Reputation: 0
yeah the user name and password are the same on both machines. I tried that comman and it worked fine. But when I restart the computer it still doesn't reconnect automatically, until i go into network neighbourhood
 
Old 01-22-2005, 01:38 PM   #6
wisdom
Member
 
Registered: Feb 2004
Distribution: Fedora 9
Posts: 226

Rep: Reputation: 31
when you made to maping connection from using windows did you click on the reconnect at startup option???


from what i know the user name dose not have to be the same on both machine uless when it comes to typing it in at the login prompt screen coz my username on windows is different from that of one on my linux machine.

Last edited by wisdom; 01-22-2005 at 01:40 PM.
 
Old 01-24-2005, 05:49 AM   #7
sboothman
LQ Newbie
 
Registered: Apr 2004
Posts: 15

Original Poster
Rep: Reputation: 0
yeah i did check the re-connect box. This is really strange, still can't figure it out.
 
Old 01-24-2005, 06:35 AM   #8
woppa30
LQ Newbie
 
Registered: Nov 2003
Location: Royston, Herts UK
Distribution: Fedora Core 5
Posts: 27

Rep: Reputation: 15
is it XP home or pro you are using. I have had similar problems with XP home and basically had to reconfigure samba to use security = share This gets rid of the password problem and means that my shares reconnect as startup.
Arno's suggestion is a good one as well, I can recommend it.
Best wishes,
David.
 
  


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
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Samba OS X to Linux Samba file share error ttoomey Linux - Software 1 08-16-2005 10:12 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 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