Hi,
I am looking for a way to share the root directory (\) in the SMB/CIF
server. I am running Windows CE 5.0. All other shares I have created work, I
can access the contents of the other shares but not on \ .
This is the contents of my [HKLM\Services\SMBServer\]:
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares]
"UseAuthentication"=dword:00000001
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\Images]
"Path"="\\FlashFS"
"Type"=dword:00000000
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\root]
"UserList"="3vlig"
"Path"="\\"
"Type"=dword:00000000
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\temp]
"Path"="\\Temp"
"Type"=dword:00000000
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\windows]
"Path"="\\Windows"
"Type"=dword:00000000
"UserList"="3vlig"
This is the output from Debug in Platform Builder:
1043766 PID:a3d337ea TID:239a5002 0x83c3f414: Invalid handle: Set=7 Method=8
1043768 PID:a3d337ea TID:239a5002 0x83c3f414: Invalid handle: Set=7 Method=8
1043778 PID:a3d337ea TID:439a9392 SMBSRV: TRANACT --
ActiveConnection::NextFile failed!
1043792 PID:a3d337ea TID:239a5002 0x83c3f414: SMBSRV: Invalid char in path
\\desktop.ini
1043792 PID:a3d337ea TID:239a5002 SMBSRV-CRACKER: SMB_OpenX -- error
filename has invalid character!
Is there a way to avoid this problem? Apparently SMBServer does not like the
double slashes in the pathname.
Im wondering If it is possible to create a "link" in the filesystem (\Root
that points to \) and then I share \Root instead. Although I have yet to
discover if it is at all possible to do it this way ...
best regards,
/Christer Olofsson