[ubuntu-uk] Strange file sharing problem

Gordon Burgess-Parker gbplinux at gmail.com
Tue Mar 1 18:18:45 UTC 2011


On 01/03/11 18:11, Gordon Burgess-Parker wrote:
> On 01/03/11 17:48, Gordon Burgess-Parker wrote:
>> On 01/03/11 17:37, Paul Morgan-Roach wrote:
>>>
>>> Did you run  sudo netstat -auntp | grep samba
>>>
>>
>> That's interesting - that command doesn't give any output on EITHER 
>> machine....
>
> OK. Update.
> It appears that installing "Samba" from the Ubuntu Software Centre 
> doesn't actually install Samba - it installs something else!
> I've now installed Samba4 from Synaptic and running "sudo netstat 
> -auntp | grep samba" on both machines gives me something like this:
>
> On the laptop:
> gordon at gordon-laptop:~$ sudo netstat -auntp | grep samba
> [sudo] password for gordon:
> tcp        0      0 0.0.0.0:1024            0.0.0.0:*               
> LISTEN      9168/samba
> tcp        0      0 0.0.0.0:135             0.0.0.0:*               
> LISTEN      9168/samba
> udp        0      0 192.168.1.71:137        
> 0.0.0.0:*                           9169/samba
> udp        0      0 192.168.1.255:137       
> 0.0.0.0:*                           9169/samba
> udp        0      0 0.0.0.0:137             
> 0.0.0.0:*                           9169/samba
> udp        0      0 192.168.1.71:138        
> 0.0.0.0:*                           9169/samba
> udp        0      0 192.168.1.255:138       
> 0.0.0.0:*                           9169/samba
> udp        0      0 0.0.0.0:138             
> 0.0.0.0:*                           9169/samba
>
> And on the Netbook:
> gordon at gordon-netbook:~$ sudo netstat -auntp |grep samba
> tcp        0      0 0.0.0.0:1024            0.0.0.0:*               
> LISTEN      1933/samba
> tcp        0      0 0.0.0.0:135             0.0.0.0:*               
> LISTEN      1933/samba
> udp        0      0 192.168.1.72:137        
> 0.0.0.0:*                           1934/samba
> udp        0      0 192.168.1.255:137       
> 0.0.0.0:*                           1934/samba
> udp        0      0 0.0.0.0:137             
> 0.0.0.0:*                           1934/samba
> udp        0      0 192.168.1.72:138        
> 0.0.0.0:*                           1934/samba
> udp        0      0 192.168.1.255:138       
> 0.0.0.0:*                           1934/samba
> udp        0      0 0.0.0.0:138             
> 0.0.0.0:*                           1934/samba
> gordon at gordon-netbook:~$
>
> I still get the same error when trying to access the Netbook from the 
> Laptop....

I now have a problem sharing directories on the Netbook. If I 
right-click on a directory and choose "Sharing Options" and check the 
"Share this folder" box it now says :
'net usershare' returned error 255: net usershare add: cannot convert 
name "Everyone" to a SID. Memory allocation error.



More information about the ubuntu-uk mailing list