Configure Samba for connection from a PocketPC
Site Navigation:
 
 

Configure Samba for connection from a PocketPC

Author:  Sven Knispel
Updated:  [udate]

After installing and running Samba on Fedora Core 3 (fc3) for a while I have been confronted with the problem of accessing the server from my PocketPC (PPC2003). I assumed that Samba behaves as Windows 2000/XP and moved my shared files to my Linux box at once without prior testing.
When trying to connect to the Samba server (with different tools like NetUse or Resco Explorer) I was confronted with following error:
Cannot map network path. Network resource cannot be found or you do not have permission to access the network. Contact your network administrator."
This message appears before I am asked for a username/password.

1. Solution 1: changing security

One Solution that I have found is to change the security from user to share in smb.conf.
[global]
...
security=share
...

The only drawback to this is that connecting requires a user "nobody" to be created.

2. Solution 2:

As I don't like the Solution 1 I kept looking for another solution and found this today.
The solution that worked straight away for me was to change the value spegno in smb.conf:
[global]
...
security=user
spegno = No
...

The signification of this variable:
This variable controls controls whether samba will try to use Simple and Protected NEGOciation (as specified by rfc2478) with WindowsXP and Windows2000 clients to agree upon an authentication mechanism. Unless further issues are discovered with our SPNEGO implementation, there is no reason this should ever be disabled.

Default: use spnego = yes
Obviously there is a least one good reason ...