[ubuntu-uk] Strange file sharing problem

John MM scoundrel50a at gmail.com
Tue Mar 1 18:34:40 UTC 2011


On 01/03/11 18:18, Gordon Burgess-Parker wrote:
> 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.
>

Now I would be very greatful for any help with this, as I have been 
having the same error for a while. I hope somebody can help.



More information about the ubuntu-uk mailing list