LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Reconnecting a samba maped share in xp (https://www.linuxquestions.org/questions/linux-software-2/reconnecting-a-samba-maped-share-in-xp-280602/)

sboothman 01-21-2005 02:52 PM

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?

marghorp 01-21-2005 02:58 PM

Don't know, maybe there are some settings in Windows to alow that.

rtspitz 01-21-2005 02:59 PM

does your xp account use the same username and password as set up in smbpasswd and smb.conf ?

arno 01-21-2005 03:48 PM

Try making the connection by using net use

eg

net use x: \\server_name\share_name /USER:domain_name\user_name * /PERSISTENT:YES

sboothman 01-21-2005 05:14 PM

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

wisdom 01-22-2005 01:38 PM

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.

sboothman 01-24-2005 05:49 AM

yeah i did check the re-connect box. This is really strange, still can't figure it out.

woppa30 01-24-2005 06:35 AM

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.


All times are GMT -5. The time now is 04:23 AM.