LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba WinXP Pro Mapped Drive Problem (https://www.linuxquestions.org/questions/linux-networking-3/samba-winxp-pro-mapped-drive-problem-44536/)

revragnarok 02-07-2003 11:27 PM

Samba WinXP Pro Mapped Drive Problem
 
:Pengy:
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

Sutekh 02-08-2003 07:54 AM

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

revragnarok 02-08-2003 09:34 AM

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

revragnarok 02-09-2003 08:54 AM

SOLVED!!!
 
After tons and tons of :study: I learned that Samba was NOT :tisk: 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


All times are GMT -5. The time now is 06:37 AM.