LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 02-07-2003, 11:27 PM   #1
revragnarok
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Rep: Reputation: 0
Angry Samba WinXP Pro Mapped Drive Problem



I am sure everyone is sick of hearing Samba questions, but this is driving me nuts. I have had a samba share setup for almost two years but I upgraded my desktop to WinXP Pro and it is driving me nuts!

Some background:
Running Samba 2.2.7

I am not doing anything fancy on samba - no PDC or anything. Plain ol' Workgroup. Example section:

[shared]
comment = Shared Files
path = /share/shared
public = yes
writable = yes
write list = me, acekitty
printable = no
force user = me
force group = me

I have this share mapped to my drive S on the WinXP machine. For some reason, the first time I double click in Explorer on the drive (after 'n' minutes of not accessing recently ), explorer just hangs for like 2 minutes. Then it comes back like nothing was wrong! No errors on the server side. I have done the "Scheduled Tasks" possible problem fix I have seen many places:

When you connect to another computer, Windows checks for any Scheduled tasks on that computer. This can take up to 30 seconds. Open regedit and browse to key:

HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Explorer/RemoteComputer/NameSpace

Delete the {D6277990-4C6A-11CF-8D87-00AA0060F5BF} sub-key and reboot.


So, are you ready for the weirdest part of this problem? I am also running WinXP Pro on my laptop and it has NEVER had this problem from day 1!?!?

Absolutely any help would be greatly appreciated.

- RR
 
Old 02-08-2003, 07:54 AM   #2
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
Re: Samba WinXP Pro Mapped Drive Problem

I have this share mapped to my drive S on the WinXP machine. For some reason, the first time I double click in Explorer on the drive (after 'n' minutes of not accessing recently ), explorer just hangs for like 2 minutes. Then it comes back like nothing was wrong! No errors on the server side. I have done the "Scheduled Tasks" possible problem fix I have seen many places:

Absolutely any help would be greatly appreciated.

- RR [/B][/QUOTE]

This is probably no help, especially since I can't find the original post I got this from but the following registry keys were needed on one of our XP boxen at work

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Netlogon\Parameters]
"requirestrongkey"=dword:00000000
"requiresignorseal"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Netlogon\Parameters]
"requirestrongkey"=dword:00000000
"requiresignorseal"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
"requirestrongkey"=dword:00000000
"requiresignorseal"=dword:00000000

I am pretty sure this was from a samba list but I can't find the original for the life of me. It has to do with encytion of the logon passwords (i am guessing, looking at what it is changing in the registry) so it may not help at all, but if the initial hang is while it is trying to log on then it may be worth a try.

Rich
 
Old 02-08-2003, 09:34 AM   #3
revragnarok
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Re: Re: Samba WinXP Pro Mapped Drive Problem

Quote:
Originally posted by Sutekh
"requirestrongkey"=dword:00000000
"requiresignorseal"=dword:00000000
Well, I tried that, no luck. It seems that those are only needed if I had a domain going to get WinXP into the domain. But thanx fer trying...

- RR
 
Old 02-09-2003, 08:54 AM   #4
revragnarok
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Talking SOLVED!!!

After tons and tons of I learned that Samba was NOT the problem!

It was just plain ol' Windows being stupid.

First, I found this page: http://www.geocities.com/phileosopho...wsxpfixed.html which I am linking here because if anyone else ever stumbles upon this post it may fix their problem, and it shows some control panel that there seems to be no other way to reach!?!?

Next I found (part of) my solution here: http://www.experts-exchange.com/Netw..._20377445.html
It seems that the service "WebClient" is what is screwing me over. However... combining these two solutions STILL didn't quite work for me... every time I booted up I had to re-enter my share passwords!

Which brings me to why the problem is so original (IMO). I have only one user on this machine, with no password. So WinXP was automagically booting into that account. To get the mounted share to work, I had to do the following fun:[list=1][*]Run 'control userpasswords2' and wipe all remembered passwords.[*]Add a password to my WinXP account (whose name has always matched the samba server account).[*]Use TweakUI to automatic login the user on bootup.[*]Disable the 'WebClient' service.[*]Reboot[/list=1]
I tried various permutations, and this was the only one that worked, so all the steps seemed to be required. This does not explain why my laptop has worked fine from day one. They both have the same NetBIOS settings, host files, mapped drives, etc, etc...

Thanx for trying! I now have my M, P, S, and W drives back!

- RR
 
  


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
Samba asking for passwd - Winxp Pro apara197 Linux - Networking 2 11-06-2005 07:48 PM
Samba - XP Mapped Drive Issue tkman Linux - Networking 2 10-01-2005 06:47 PM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
Samba - XP Mapped Drive Problem tkman Linux - General 1 12-10-2003 06:37 PM
Auto Logon Mapped Samba Drive Jason_au Linux - Networking 2 10-20-2003 09:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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