Hi,

For purely anonymous access you can set the following registry key in WinCE
4.2.
[HKEY_LOCAL_MACHINE\Services\Smbserver\Shares]
"NoSecurity"=dword:1

But, in WinCE 5.0 use "UseAuthentication=dword:0" not to take effect.
Please tell me why. Thanks!!

Re: File sharing in WinCE5.0 by John

John
Tue Jan 11 14:31:42 CST 2005

Looking through CE 5.0 source, I don't see "NoSecurity" registry anymore.
However when I set [HKEY_LOCAL_MACHINE\Services\Smbserver\Shares]
UseAuthentication=0 then everything worked fine.

Are you refreshing the SMB server after making the registry change? Either
do 'services refresh SMB0:' or 'services unload SMB0:' followed by 'services
load SMBSERVER'. Also do you have the AdapterList in
HKLM\Services\SMBServer set properly to allow incoming network traffic from
the appropriate network interface?

--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation

Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.

"James Lee" <JamesLee@discussions.microsoft.com> wrote in message
news:07660432-1488-4797-BF0C-39CF459EA4AE@microsoft.com...
> Hi,
>
> For purely anonymous access you can set the following registry key in
> WinCE
> 4.2.
> [HKEY_LOCAL_MACHINE\Services\Smbserver\Shares]
> "NoSecurity"=dword:1
>
> But, in WinCE 5.0 use "UseAuthentication=dword:0" not to take effect.
> Please tell me why. Thanks!!
>
>



Re: File sharing in WinCE5.0 by JamesLee

JamesLee
Tue Jan 11 21:07:01 CST 2005

[HKEY_LOCAL_MACHINE\Services\SMBServer]
"GUID"=hex:\
c7,f8,cf,c8,df,9d,b6,24,b4,3f,f4,bb,72,32,d6,1f
"DLL"="smbserver.dll"
"Keep"=dword:00000001
"Order"=dword:00000012
"Prefix"="SMB"
"Index"=dword:00000000
"AdapterList"="PCI\\RTL81391;RTL81691;VMINI1"

I used a Network Adapter Interface "VMINI1" for downloading target device.

After using UseAuthentication=1, i typed in \\192.168.0.169 on the address
bar and get a login dialog box popping up. So i am sure that the SMBSERVER
service has been loaded.

But get "Cannot find the file or item '\\192.168.0.169'. Make sure the path
and file name are are correct. Type 'go <SearchText>' to use AutoSearch."
message after using UseAuthentication=0.

What methods do you have for solving?

Normally, what happened for using UseAuthentication=0?
Could you tell me for this condition? Thanks!!

"John Spaith [MS]" wrote:

> Looking through CE 5.0 source, I don't see "NoSecurity" registry anymore.
> However when I set [HKEY_LOCAL_MACHINE\Services\Smbserver\Shares]
> UseAuthentication=0 then everything worked fine.
>
> Are you refreshing the SMB server after making the registry change? Either
> do 'services refresh SMB0:' or 'services unload SMB0:' followed by 'services
> load SMBSERVER'. Also do you have the AdapterList in
> HKLM\Services\SMBServer set properly to allow incoming network traffic from
> the appropriate network interface?
>
> --
> John Spaith
> Software Design Engineer, Windows CE
> Microsoft Corporation
>
> Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use. © 2003 Microsoft Corporation. All rights
> reserved.
>
> "James Lee" <JamesLee@discussions.microsoft.com> wrote in message
> news:07660432-1488-4797-BF0C-39CF459EA4AE@microsoft.com...
> > Hi,
> >
> > For purely anonymous access you can set the following registry key in
> > WinCE
> > 4.2.
> > [HKEY_LOCAL_MACHINE\Services\Smbserver\Shares]
> > "NoSecurity"=dword:1
> >
> > But, in WinCE 5.0 use "UseAuthentication=dword:0" not to take effect.
> > Please tell me why. Thanks!!
> >
> >
>
>
>