Re: [ubuntu-uk] Strange file sharing problem
On Fri, 2011-03-04 at 19:58 +, John MM wrote: Ok, I just wondered, can I ask the question again, I have managed to get the computers to see each other, but I cannot get Nautilus to show the directories, from either the Ubuntu partition or the Windows Partition. When I go into PlacesNetwork, I click on the Icon in there, and still get Unable to mount location - Failed to retrieve share list from server. I have searched for that using Google, not much comes up, that I can understand anyway. I am still wondering if it is a Permissions/ownership thing. Is there a command in the Terminal I can use to see why Nautilus camt view the files. Not sure if this will help, but I've never got nautilus to work happily in that manner with SMB, however, if you hit ctrl+l in a nautilus window it will drop you into the address bar. Now just type smb://192.168.x.x/ and hit enter. It should now show you the available shares for that machine. If it doesn't, in a terminal, type nautilus and try again. If you still get any errors, see if it dumps anything into the terminal window and if it does, paste that back to us here. -Matt Daubney -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 5 Mar 2011, at 08:14, Matthew Daubney m...@daubers.co.uk wrote: On Fri, 2011-03-04 at 19:58 +, John MM wrote: Ok, I just wondered, can I ask the question again, I have managed to get the computers to see each other, but I cannot get Nautilus to show the directories, from either the Ubuntu partition or the Windows Partition. When I go into PlacesNetwork, I click on the Icon in there, and still get Unable to mount location - Failed to retrieve share list from server. I have searched for that using Google, not much comes up, that I can understand anyway. I am still wondering if it is a Permissions/ownership thing. Is there a command in the Terminal I can use to see why Nautilus camt view the files. Not sure if this will help, but I've never got nautilus to work happily in that manner with SMB, however, if you hit ctrl+l in a nautilus window it will drop you into the address bar. Now just type smb:// 192.168.x.x/ and hit enter. Just to clarify here, since John is still learning and sometimes we have't been explicit enough; you would replace the x.x with the appropriate numbers for your network, or replace the whole 192.168.x.x with the name of your other machine. Best to try with the numeric addresses first. Cofion/Regards, Neil -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 05/03/11 08:14, Matthew Daubney wrote: Not sure if this will help, but I've never got nautilus to work happily in that manner with SMB, however, if you hit ctrl+l in a nautilus window it will drop you into the address bar. Now just type smb://192.168.x.x/ and hit enter. It should now show you the available shares for that machine. If it doesn't, in a terminal, type nautilus and try again. If you still get any errors, see if it dumps anything into the terminal window and if it does, paste that back to us here. -Matt Daubney Oh wow, that has bought up a list of the Ubuntu directories on this and if I put in the other IP address of the other machine that one as well. Problem is, I cant log in, it has a box asking for Username, Domain and Password. I just tried a load of different things I think it could be, and its not letting me in. So, at least I can now see the other computers directories, I just have to find a way to work out what to enter into those three things. Funny thing though, it says just above the Username box, How do I find out what the Domain is? Password required for share print$ on 192.168.0x.x is that normal, not sure why it should be about Print$ Thank you for you help. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On Sat, 2011-03-05 at 10:33 +, John MM wrote: On 05/03/11 08:14, Matthew Daubney wrote: Not sure if this will help, but I've never got nautilus to work happily in that manner with SMB, however, if you hit ctrl+l in a nautilus window it will drop you into the address bar. Now just type smb://192.168.x.x/ and hit enter. It should now show you the available shares for that machine. If it doesn't, in a terminal, type nautilus and try again. If you still get any errors, see if it dumps anything into the terminal window and if it does, paste that back to us here. -Matt Daubney Oh wow, that has bought up a list of the Ubuntu directories on this and if I put in the other IP address of the other machine that one as well. Problem is, I cant log in, it has a box asking for Username, Domain and Password. I just tried a load of different things I think it could be, and its not letting me in. So, at least I can now see the other computers directories, I just have to find a way to work out what to enter into those three things. Funny thing though, it says just above the Username box, How do I find out what the Domain is? Password required for share print$ on 192.168.0x.x is that normal, not sure why it should be about Print$ Thank you for you help. If you've not changed it (based on reading I doubt you have) the domain is probably WORKGROUP. You username/password for your Ubuntu shares will be whatever user you assigned to the shares in the smb.conf file (the valid users = timmy johnny line), I have no idea how any of the graphical tools do this if you've set it to guest ok = yes then you can just login with the Guest user account (no password, username Guest I seem to recall... though there might be a Sign in as guest button. There is on OS X) For your Windows shares, it'll be the username/password of the person who owns the share. So to connect to my Win7 shares I user the username matt and my windows password as the password. Hope that helps you a bit further along the track. -Matt Daubney -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
Well, I have to say this, since upgraqding to 10.04 from 9.04, I have not been able to use my file share on my computers. I have tried looking, tried asking, more times than I want, and I have to say, after spending most of the day today, almost demading questions answered, I got my answer. With the terminal, I have always thought with a few direct questions, most problems can be sorted. I honestly believe my problem could have been sorted a lot sooner too. The answer, was given with a command, via the terminal, one which with my experience, I would never in a million years have been able to get. I dont even think many people apart from geeks, would have. Which is why i believe directed questions by somebody who knows could have solved it sooner. I now have after all this time, my sharing back, and my windows sharing, the windows sharing bit took seconds once the initial problem got sorted. I dont understand why it is, that when something is working ok, upgrading can take that away. Why does that happen. I am hoping, with the new upgrade coming soon, it doesnt do the same thing. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 05/03/11 18:35, Matthew Daubney wrote: If you've not changed it (based on reading I doubt you have) the domain is probably WORKGROUP. You username/password for your Ubuntu shares will be whatever user you assigned to the shares in the smb.conf file (the valid users = timmy johnny line), I have no idea how any of the graphical tools do this if you've set it to guest ok = yes then you can just login with the Guest user account (no password, username Guest I seem to recall... though there might be a Sign in as guest button. There is on OS X) For your Windows shares, it'll be the username/password of the person who owns the share. So to connect to my Win7 shares I user the username matt and my windows password as the password. Hope that helps you a bit further along the track. -Matt Daubney Hi Matt, thanks for the message, I really appreciate it. its been fixed, and I even have my windows share fixed too. Not something I would have been able to get with a million years of looking. The command I was given, for both machines, totally lost me, but it worked, and opened up my locked machine to share. It took seconds, but I still had to spend a lot of time trying to work it out. But it now works. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 05/03/11 18:35, Matthew Daubney wrote: If you've not changed it (based on reading I doubt you have) the domain is probably WORKGROUP. You username/password for your Ubuntu shares will be whatever user you assigned to the shares in the smb.conf file (the valid users = timmy johnny line), I have no idea how any of the graphical tools do this if you've set it to guest ok = yes then you can just login with the Guest user account (no password, username Guest I seem to recall... though there might be a Sign in as guest button. There is on OS X) For your Windows shares, it'll be the username/password of the person who owns the share. So to connect to my Win7 shares I user the username matt and my windows password as the password. Hope that helps you a bit further along the track. -Matt Daubney Oh, and as well as the terminal command, we also worked out the ufw firewall was stopping this machine from being seen. Even with new rules I added it still wouldnt work, I didnt even know I had a firewall turned on. ufw has now been stopped. I know nothing about Ubuntu firewalls, and couldnt even guess what I would need to do to fix the problem I am going to habve not use it. Until I can find somebody that can get it to work. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 5 March 2011 18:43, John MM scoundrel...@gmail.com wrote: Well, I have to say this, since upgraqding to 10.04 from 9.04, I have not been able to use my file share on my computers. I have tried looking, tried asking, more times than I want, and I have to say, after spending most of the day today, almost demading questions answered, I got my answer. With the terminal, I have always thought with a few direct questions, most problems can be sorted. I honestly believe my problem could have been sorted a lot sooner too. The answer, was given with a command, via the terminal, one which with my experience, I would never in a million years have been able to get. I dont even think many people apart from geeks, would have. Which is why i believe directed questions by somebody who knows could have solved it sooner. Can you tell us what the command was so that anyone finding this thread in the future may be helped? Colin -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 4 March 2011 07:37, John MM scoundrel...@gmail.com wrote: On 04/03/11 07:09, Simon Greenwood wrote: Check that you can ping either computer each way, that SMB sharing is set up on your netbook - it isn't installed by default as Gordon has pointed out, and you'll have to search for Samba in the Software Centre. s/ Appologies, just woke up, forget what I just said about the directories inside samba directory, the ones I want to share have no locks. I'm wondering, what are the permissions/ownership for the samba directory itself? Maybe that is why I cant see in the samba directory. The samba directory should be owned by root. Everything else looks correct from your ls output. Your shared folders should be owned by you. In Windows, a machine's user has defacto admin rights. The question that Vista and Windows 7 asks about making changes to your system when you install something is essentially granting you permission to do something to the system. Ubuntu is a Linux-derived operating system that takes its permissions structure from Unix. On an Ubuntu desktop you are a non-privileged user who has the right to make changes to the system using sudo. When you need to make changes, you are asked to enter your password, which gives you temporary administrator privileges. System level files are owned by the administrator, and generally, you shouldn't have to do anything with them unless you have a problem like this. If you look at them using the file browser, they will appear to be locked. Broadly speaking, the only place that files shouldn't be locked is in your home directory. Now, to test connectivity between your machines. Make sure that they are connected to your router either by cable or wireless. You will need to know their names. On one machine, open Terminal and type 'ping' and the name of the other machine. You might have to enter machinename.local. You should see output like this: PING machine.local (192.168.0.2) 56(84) bytes of data. 64 bytes from machine.local (192.168.0.2): icmp_seq=1 ttl=64 time=0.117 ms 64 bytes from machine.local (192.168.0.2): icmp_seq=2 ttl=64 time=0.139 ms 64 bytes from machine.local (192.168.0.2): icmp_seq=3 ttl=64 time=0.131 ms 64 bytes from machine.local (192.168.0.2): icmp_seq=4 ttl=64 time=0.114 ms If you don't see that, then you have sort out your connectivity. I need to get some work done now and I really would suggest that if you need to understand the differences between Windows and Ubuntu, that you read this: https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows and the pages linked to it. Again, I'm not trying to fob you off, but I don't think that this list is the place to talk about the basics. In my opinion Ubuntu is the best desktop distribution of Linux but it's not completely a drop-in replacement yet, and you do need to understand a few concepts. Simon -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 07:09, Simon Greenwood wrote: Check that you can ping either computer each way, that SMB sharing is set up on your netbook - it isn't installed by default as Gordon has pointed out, and you'll have to search for Samba in the Software Centre. s/ Ok, have been trying to work with this, and its like this computer is locked. Can anybody tell me what the permissions are for the samba directory. I dont know what else to do. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 09:18, Simon Greenwood wrote: The samba directory should be owned by root. Everything else looks correct from your ls output. Your shared folders should be owned by you. In Windows, a machine's user has defacto admin rights. The question that Vista and Windows 7 asks about making changes to your system when you install something is essentially granting you permission to do something to the system. Ubuntu is a Linux-derived operating system that takes its permissions structure from Unix. On an Ubuntu desktop you are a non-privileged user who has the right to make changes to the system using sudo. When you need to make changes, you are asked to enter your password, which gives you temporary administrator privileges. System level files are owned by the administrator, and generally, you shouldn't have to do anything with them unless you have a problem like this. If you look at them using the file browser, they will appear to be locked. Broadly speaking, the only place that files shouldn't be locked is in your home directory. Now, to test connectivity between your machines. Make sure that they are connected to your router either by cable or wireless. You will need to know their names. On one machine, open Terminal and type 'ping' and the name of the other machine. You might have to enter machinename.local. You should see output like this: PING machine.local (192.168.0.2) 56(84) bytes of data. 64 bytes from machine.local (192.168.0.2): icmp_seq=1 ttl=64 time=0.117 ms 64 bytes from machine.local (192.168.0.2): icmp_seq=2 ttl=64 time=0.139 ms 64 bytes from machine.local (192.168.0.2): icmp_seq=3 ttl=64 time=0.131 ms 64 bytes from machine.local (192.168.0.2): icmp_seq=4 ttl=64 time=0.114 ms If you don't see that, then you have sort out your connectivity. I need to get some work done now and I really would suggest that if you need to understand the differences between Windows and Ubuntu, that you read this: https://help.ubuntu.com/community/SwitchingToUbuntu/FromWindows and the pages linked to it. Again, I'm not trying to fob you off, but I don't think that this list is the place to talk about the basics. In my opinion Ubuntu is the best desktop distribution of Linux but it's not completely a drop-in replacement yet, and you do need to understand a few concepts. Simon Hi, thank you, I really appreciate the help. Its really frustrating. I tried the ping, I can ping this computer from my netbook but I cant ping from this computer to my netbook. I am convinced its a lock somewhere on this computer. As far as the link goes, that is something that I have been working from already. Thank you though for helping. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
Ok, well, I found this, if I run me@me-laptop:~$ smbclient -L //192.168.x.x Enter me's password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4] Sharename Type Comment - --- print$ Disk Printer Drivers IPC$IPC IPC Service (me-Netbook server (Samba, Ubuntu)) public Disk picturesDisk documents Disk downloads Disk videos Disk music Disk Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4] Server Comment ---- me-NETBOOKme-Netbook server (Samba, Ubuntu) WorkgroupMaster ---- WORKGROUP That is my netbook...It seems I have done something that allows me to see my netbook, but how can I view the folders, I dont see anywhere to view them. Where do I view the shares from this computer. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 4 March 2011 10:13, John MM scoundrel...@gmail.com wrote: Ok, well, I found this, if I run me@me-laptop:~$ smbclient -L //192.168.x.x Enter me's password: Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4] Sharename Type Comment - --- print$ Disk Printer Drivers IPC$ IPC IPC Service (me-Netbook server (Samba, Ubuntu)) public Disk pictures Disk documents Disk downloads Disk videos Disk music Disk Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4] Server Comment - --- me-NETBOOK me-Netbook server (Samba, Ubuntu) Workgroup Master - --- WORKGROUP That is my netbook...It seems I have done something that allows me to see my netbook, but how can I view the folders, I dont see anywhere to view them. Where do I view the shares from this computer. What do you see if you select Places Network Colin -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/ -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
ok, think I found something, I tried running testparm smb.conf inside samba directory, and it seems I dont have the smb.conf file. I tried looking for it, in the directory, and couldnt see it anywhere. Where should it be, and if its really isnt there, how do I ge it. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 10:25, Colin Law wrote: What do you see if you select Places Network Colin I see Windows Network Icon, that when I click on it, it gives an 'unable to mount, failed to retrieve sharelist from server'.I just discovered, I cant find my smb.conf file in the samba directory. I wonder if that might be the problem. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 4 March 2011 10:32, John MM scoundrel...@gmail.com wrote: On 04/03/11 10:25, Colin Law wrote: What do you see if you select Places Network Colin I see Windows Network Icon, that when I click on it, it gives an 'unable to mount, failed to retrieve sharelist from server'.I just discovered, I cant find my smb.conf file in the samba directory. I wonder if that might be the problem. -- smb.conf is in /etc/samba/ smb.conf get's generated on installing Samba from memory, so if you don't have one samba didn't install correctly ? Just running testparm on it's own will look in the default dir. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 10:59, Andy Partington wrote: smb.conf is in /etc/samba/ smb.conf get's generated on installing Samba from memory, so if you don't have one samba didn't install correctly ? Just running testparm on it's own will look in the default dir. Hi, thank you for the reply, ok, so how can I uninstall completely, then reinstall, would it be best to do that through Synaptic or the terminal, if the terminal, what command would I use to do that? smb.conf is not there. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
Ok, went ahead, and uninstalled using the Terminal. Rebooted, then installed using Terminal. Now, when I go to add Directories to share, I get this error 'net usershare' returned error 255: net usershare add: cannot convert name Everyone to a SID. Memory allocation error' I now have an smb.conf file. What should I do now? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
Ok, fixed that problem, but when I go into PlacesNetwork, and click on the Windows Icon, I still get 'Unable to mount location - Failed to retrieve share list from server' I have tried everything, why should I still be getting that error message. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 11:30, John MM wrote: Ok, went ahead, and uninstalled using the Terminal. Rebooted, then installed using Terminal. Now, when I go to add Directories to share, I get this error 'net usershare' returned error 255: net usershare add: cannot convert name Everyone to a SID. Memory allocation error' I now have an smb.conf file. What should I do now? Does this short thread help? http://ubuntuforums.org/showthread.php?t=1318879 Al -- The Open Learning Centre http://www.theopenlearningcentre.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 12:08, Alan Lord (News) wrote: On 04/03/11 11:30, John MM wrote: Ok, went ahead, and uninstalled using the Terminal. Rebooted, then installed using Terminal. Now, when I go to add Directories to share, I get this error 'net usershare' returned error 255: net usershare add: cannot convert name Everyone to a SID. Memory allocation error' I now have an smb.conf file. What should I do now? Does this short thread help? http://ubuntuforums.org/showthread.php?t=1318879 Al I saw that thread, tried evberything on there, didnt help..thank you for posting though. I have everything fixed I think apart from, Places?Network.and the Windows Icon saying unable to mount, and its very frustrating. I've pinged the netbook, and pinged from the netbook to thins computer, and they can see each other, I just cant view the directories -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
Ok, I just wondered, can I ask the question again, I have managed to get the computers to see each other, but I cannot get Nautilus to show the directories, from either the Ubuntu partition or the Windows Partition. When I go into PlacesNetwork, I click on the Icon in there, and still get Unable to mount location - Failed to retrieve share list from server. I have searched for that using Google, not much comes up, that I can understand anyway. I am still wondering if it is a Permissions/ownership thing. Is there a command in the Terminal I can use to see why Nautilus camt view the files. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 01/03/11 18:45, Alan Lord (News) wrote: On 01/03/11 18:11, Gordon Burgess-Parker wrote: 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: Samba 4 is quite new and not really what most peeps use yet as far as I'm aware. I'm running Samba 3.4.7 on my server (10.04) and a client machine (10.10) is showing 3.5.4. These are the standard versions AFAICT. On my home server that runs samba I have to look for smb and nmb to find what if samba daemons are listening to the correct ports. sudo netstat -auntp | grep nmbd sudo netstat -auntp | grep smbd These are the names of the Samba daemons. The samba client is part of the Linux kernel and does not need any extra software to use it. from any computer try smbtree as this will show you what Samba can see on the LAN. I'd suggest Googling for some Samba expert tips rather than blindly installing Samba4 possibly on on top of samba3. Find your smb.conf and let people see what's in there too (obviously remove any sensitive data). Al Hi, Has anybody managed to get this sorted, has it been taken off list. I have been trying to follow what is going on, but the thread seems to have dried up, can somebldy still help? what is smbtree? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 08:51, John MM wrote: what is smbtree? Open a terminal and type man smbtree NAME smbtree - A text based smb network browser SYNOPSIS smbtree [-b] [-D] [-S] DESCRIPTION This tool is part of the samba(7) suite. smbtree is a smb browser program in text mode. It is similar to the Network Neighborhood found on Windows computers. It prints a tree with all the known domains, the servers in those domains and the shares on the servers. Al -- The Open Learning Centre http://www.theopenlearningcentre.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 09:22, Alan Lord (News) wrote: On 03/03/11 08:51, John MM wrote: what is smbtree? Open a terminal and type man smbtree NAME smbtree - A text based smb network browser SYNOPSIS smbtree [-b] [-D] [-S] DESCRIPTION This tool is part of the samba(7) suite. smbtree is a smb browser program in text mode. It is similar to the Network Neighborhood found on Windows computers. It prints a tree with all the known domains, the servers in those domains and the shares on the servers. Al Um, ok 'man' has been proven to be difficult to understand even by the best of you, it isnt written for newbies, and I look at it, and it makes absoluteluy no sense to me at all. Why the sarcasm, all I have done is ask a question based on this thread? I wasnt being nasty. So why the attitude? The sarcastic answer still doesnt help, how can I use smbtree to help me. You were going to help the OP, what is different with my question? I have found out more in htis thread, than at any other time, when I have asked similar questions about error 255, but the thread stopped, and has gone nowhere. So I know there is an answer there somewhere. I just wondered if somebody could help, Thank you. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 11:01, John MM scoundrel...@gmail.com wrote: On 03/03/11 09:22, Alan Lord (News) wrote: On 03/03/11 08:51, John MM wrote: what is smbtree? Open a terminal and type man smbtree NAME smbtree - A text based smb network browser SYNOPSIS smbtree [-b] [-D] [-S] DESCRIPTION This tool is part of the samba(7) suite. smbtree is a smb browser program in text mode. It is similar to the Network Neighborhood found on Windows computers. It prints a tree with all the known domains, the servers in those domains and the shares on the servers. Al Um, ok 'man' has been proven to be difficult to understand even by the best of you, it isnt written for newbies, and I look at it, and it makes absoluteluy no sense to me at all. Why the sarcasm, all I have done is ask a question based on this thread? I wasnt being nasty. So why the attitude? The sarcastic answer still doesnt help, how can I use smbtree to help me. You were going to help the OP, what is different with my question? I have found out more in htis thread, than at any other time, when I have asked similar questions about error 255, but the thread stopped, and has gone nowhere. So I know there is an answer there somewhere. I just wondered if somebody could help, Thank you. A quick Google would also show that there isn't much more to know than what is in the man page. Smbtree prints a list of available servers and devices in your domain in the same way as Network Neighborhood does in Windows, but it does it on the command line, through Terminal in Ubuntu. If you have a use for that, then use it. If you don't, and unless you have machines that have SMB shares that don't have some kind of GUI, then you probably don't. In my experience, if you don't get an answer to a question on a mailing list or forum it's because no-one reading has an answer. This is just a fact of life. However, if you google 'samba error 255 ubuntu' you will find a lot of data relating to the problem that causes it. It appears to relate to permissions on /var/lib/samba/usershares. s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 11:44, Simon Greenwood wrote: A quick Google would also show that there isn't much more to know than what is in the man page. Smbtree prints a list of available servers and devices in your domain in the same way as Network Neighborhood does in Windows, but it does it on the command line, through Terminal in Ubuntu. If you have a use for that, then use it. If you don't, and unless you have machines that have SMB shares that don't have some kind of GUI, then you probably don't. In my experience, if you don't get an answer to a question on a mailing list or forum it's because no-one reading has an answer. This is just a fact of life. However, if you google 'samba error 255 ubuntu' you will find a lot of data relating to the problem that causes it. It appears to relate to permissions on /var/lib/samba/usershares. s/ But in response to this, the op was getting an answer, through the group, which then suddenly stopped, which indicatges it went off board. Its kind of frustratng seeing the answer unfold, for it to stop unfolding. Its also kind of frustrating having asked the same questions, to have gotten nowhere, previously. I have looked, via google, tried a few things, but most of which are over my head, which is why I attempted to ask here. You mention permissions relating to /var/lib/samba/usershares I have no idea what that means, could you explain a little bit more. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 11:44, Simon Greenwood wrote: A quick Google would also show that there isn't much more to know than what is in the man page. Smbtree prints a list of available servers and devices in your domain in the same way as Network Neighborhood does in Windows, but it does it on the command line, through Terminal in Ubuntu. If you have a use for that, then use it. If you don't, and unless you have machines that have SMB shares that don't have some kind of GUI, then you probably don't. In my experience, if you don't get an answer to a question on a mailing list or forum it's because no-one reading has an answer. This is just a fact of life. However, if you google 'samba error 255 ubuntu' you will find a lot of data relating to the problem that causes it. It appears to relate to permissions on /var/lib/samba/usershares. s/ Just out of a matter of interest, something doesnt add up here, you have answered quite at length to the OP's questions about Networking, yet, you reply to my question with, go google it. There is something not quite right there. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 11:01, John MM wrote: Um, ok 'man' has been proven to be difficult to understand even by the best of you, it isnt written for newbies, and I look at it, and it makes absoluteluy no sense to me at all. What is hard to understand? smbtree is a smb browser program in text mode. It is similar to the Network Neighborhood found on Windows computers. It prints a tree with all the known domains, the servers in those domains and the shares on the servers. Why the sarcasm, all I have done is ask a question based on this thread? I wasnt being nasty. So why the attitude? I wasn't being sarcastic at all. I replied to your question with the answer. The sarcastic answer still doesnt help, how can I use smbtree to help me. You were going to help the OP, what is different with my question? I have found out more in htis thread, than at any other time, when I have asked similar questions about error 255, but the thread stopped, and has gone nowhere. So I know there is an answer there somewhere. I just wondered if somebody could help, Erm, I wasn't being sarcastic. You didn't say you had a problem, you asked what smbtree was. I supplied a comprehensive answer IMHO. Al -- The Open Learning Centre http://www.theopenlearningcentre.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 12:00, Alan Lord (News) wrote: On 03/03/11 11:01, John MM wrote: Um, ok 'man' has been proven to be difficult to understand even by the best of you, it isnt written for newbies, and I look at it, and it makes absoluteluy no sense to me at all. What is hard to understand? smbtree is a smb browser program in text mode. It is similar to the Network Neighborhood found on Windows computers. It prints a tree with all the known domains, the servers in those domains and the shares on the servers. Why the sarcasm, all I have done is ask a question based on this thread? I wasnt being nasty. So why the attitude? I wasn't being sarcastic at all. I replied to your question with the answer. The sarcastic answer still doesnt help, how can I use smbtree to help me. You were going to help the OP, what is different with my question? I have found out more in htis thread, than at any other time, when I have asked similar questions about error 255, but the thread stopped, and has gone nowhere. So I know there is an answer there somewhere. I just wondered if somebody could help, Erm, I wasn't being sarcastic. You didn't say you had a problem, you asked what smbtree was. I supplied a comprehensive answer IMHO. Al I did actaully say I had the same problem the error 255, you must have missed the e-mail. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 11:47, John MM wrote: I did actaully say I had the same problem the error 255, you must have missed the e-mail. Hi, Has anybody managed to get this sorted, has it been taken off list. I have been trying to follow what is going on, but the thread seems to have dried up, can somebldy still help? what is smbtree? Nope. That's the *full* text of message I replied to (I thought I was being helpful), with a quick and comprehensive answer. If you have a particular problem you might be better to start a new thread describing the issue you have with as much detail and symptoms as you can. Cheers Al -- The Open Learning Centre http://www.theopenlearningcentre.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 11:34, John MM scoundrel...@gmail.com wrote: On 03/03/11 11:44, Simon Greenwood wrote: A quick Google would also show that there isn't much more to know than what is in the man page. Smbtree prints a list of available servers and devices in your domain in the same way as Network Neighborhood does in Windows, but it does it on the command line, through Terminal in Ubuntu. If you have a use for that, then use it. If you don't, and unless you have machines that have SMB shares that don't have some kind of GUI, then you probably don't. In my experience, if you don't get an answer to a question on a mailing list or forum it's because no-one reading has an answer. This is just a fact of life. However, if you google 'samba error 255 ubuntu' you will find a lot of data relating to the problem that causes it. It appears to relate to permissions on /var/lib/samba/usershares. s/ But in response to this, the op was getting an answer, through the group, which then suddenly stopped, which indicatges it went off board. Its kind of frustratng seeing the answer unfold, for it to stop unfolding. Its also kind of frustrating having asked the same questions, to have gotten nowhere, previously. I have looked, via google, tried a few things, but most of which are over my head, which is why I attempted to ask here. You mention permissions relating to /var/lib/samba/usershares I have no idea what that means, could you explain a little bit more. OK, I've just had a look back for your original query, and it would appear that you're trying to connect two machines running Ubuntu using Samba. The people who replied suggested that you don't use Samba and use SSHFS instead, which is built into Nautilus, the reason being that Samba is an implementation of Microsoft's SMB networking protocol that is mostly reverse engineered, and as such is not well documented and prone to bugs. I have no other information than that which I looked up and found here: http://ubuntuforums.org/showthread.php?t=1026668, for which the remedy appears to be add your user to the group 'sambashares', change the group permission on the directory /var/lib/samba/usershares and possibly log in and log out. In response to your second reply, yes, I probably did as it's something that I know a bit about and have experience in similar problems. However, I don't know anything about your problem so I am using Google and can only give you the same response that Google would give you, which seems to be a valid one. This is how mailing lists and message boards and the like work. People are doing this because they have experience to offer, but only if it's relevant to a problem. If they have no experience in a problem then there is no point in trying to offer something other than known facts. One of the major things about Ubuntu is that there is a wealth of information available and that other people may have had similar problems, and the way to find that is to use the search engine of your choice. No-one is obliged to give you an answer, but many will try to help within reason. s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 12:13, Alan Lord (News) wrote: On 03/03/11 11:47, John MM wrote: I did actaully say I had the same problem the error 255, you must have missed the e-mail. Hi, Has anybody managed to get this sorted, has it been taken off list. I have been trying to follow what is going on, but the thread seems to have dried up, can somebldy still help? what is smbtree? Nope. That's the *full* text of message I replied to (I thought I was being helpful), with a quick and comprehensive answer. If you have a particular problem you might be better to start a new thread describing the issue you have with as much detail and symptoms as you can. Cheers Al I havent started a new thread, because this one, as I have pointed out, deals with the same I am having, with the error 255. It was started to be dealt with, then stopped. Which indicated it had gone off board. It seems strange to me so much effort is being taken to point out my short comings, and get told to go use 'man' and google, and unlike the op actually get some form of help. Why is it different? Now, its become a flame, I never intended that. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 12:17, Simon Greenwood wrote: OK, I've just had a look back for your original query, and it would appear that you're trying to connect two machines running Ubuntu using Samba. The people who replied suggested that you don't use Samba and use SSHFS instead, which is built into Nautilus, the reason being that Samba is an implementation of Microsoft's SMB networking protocol that is mostly reverse engineered, and as such is not well documented and prone to bugs. Erm, that's not actually correct. This is no longer the case http://news.samba.org/announcements/pfif/ 20 December 2007 Samba Team Receives Microsoft Protocol Docs Today the Protocol Freedom Information Foundation (PFIF), a non-profit organization created by the Software Freedom Law Center, signed an agreement with Microsoft to receive the protocol documentation needed to fully interoperate with the Microsoft Windows workgroup server products and to make them available to Free Software projects such as Samba. Microsoft was required to make this information available to competitors as part of the European Commission March 24th 2004 Decision in the antitrust lawsuit, after losing their appeal against that decision on September 17th 2007. ... -- The Open Learning Centre http://www.theopenlearningcentre.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 12:17, Simon Greenwood wrote: OK, I've just had a look back for your original query, and it would appear that you're trying to connect two machines running Ubuntu using Samba. The people who replied suggested that you don't use Samba and use SSHFS instead, which is built into Nautilus, the reason being that Samba is an implementation of Microsoft's SMB networking protocol that is mostly reverse engineered, and as such is not well documented and prone to bugs. I have no other information than that which I looked up and found here: http://ubuntuforums.org/showthread.php?t=1026668, for which the remedy appears to be add your user to the group 'sambashares', change the group permission on the directory /var/lib/samba/usershares and possibly log in and log out. In response to your second reply, yes, I probably did as it's something that I know a bit about and have experience in similar problems. However, I don't know anything about your problem so I am using Google and can only give you the same response that Google would give you, which seems to be a valid one. This is how mailing lists and message boards and the like work. People are doing this because they have experience to offer, but only if it's relevant to a problem. If they have no experience in a problem then there is no point in trying to offer something other than known facts. One of the major things about Ubuntu is that there is a wealth of information available and that other people may have had similar problems, and the way to find that is to use the search engine of your choice. No-one is obliged to give you an answer, but many will try to help within reason. s/ Ok, I appreciate that, but is very frustrating, when an op comes along with a similar problem, they get asked questions, given help, and none of this 'we help you because we can, and not because we have to attitude, I asked a question, the same as the op, I do feel like I am being pushed away. Esecially since a similar question is being put forward. Why are you bringing that up. What is the difference between the op asking a quesiton and me asking a question. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 12:23, Alan Lord (News) alansli...@gmail.com wrote: On 03/03/11 12:17, Simon Greenwood wrote: OK, I've just had a look back for your original query, and it would appear that you're trying to connect two machines running Ubuntu using Samba. The people who replied suggested that you don't use Samba and use SSHFS instead, which is built into Nautilus, the reason being that Samba is an implementation of Microsoft's SMB networking protocol that is mostly reverse engineered, and as such is not well documented and prone to bugs. Erm, that's not actually correct. This is no longer the case http://news.samba.org/announcements/pfif/ 20 December 2007 Samba Team Receives Microsoft Protocol Docs Today the Protocol Freedom Information Foundation (PFIF), a non-profit organization created by the Software Freedom Law Center, signed an agreement with Microsoft to receive the protocol documentation needed to fully interoperate with the Microsoft Windows workgroup server products and to make them available to Free Software projects such as Samba. Microsoft was required to make this information available to competitors as part of the European Commission March 24th 2004 Decision in the antitrust lawsuit, after losing their appeal against that decision on September 17th 2007. Yes, I know about that, but I thought that the full implementation is only in Samba 4. I genuinely don't know how much has been ported into 3, which is still the version in most Linux distributions. I am a bit out of date with it. s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 12:08, John MM scoundrel...@gmail.com wrote: On 03/03/11 12:17, Simon Greenwood wrote: OK, I've just had a look back for your original query, and it would appear that you're trying to connect two machines running Ubuntu using Samba. The people who replied suggested that you don't use Samba and use SSHFS instead, which is built into Nautilus, the reason being that Samba is an implementation of Microsoft's SMB networking protocol that is mostly reverse engineered, and as such is not well documented and prone to bugs. I have no other information than that which I looked up and found here: http://ubuntuforums.org/showthread.php?t=1026668, for which the remedy appears to be add your user to the group 'sambashares', change the group permission on the directory /var/lib/samba/usershares and possibly log in and log out. In response to your second reply, yes, I probably did as it's something that I know a bit about and have experience in similar problems. However, I don't know anything about your problem so I am using Google and can only give you the same response that Google would give you, which seems to be a valid one. This is how mailing lists and message boards and the like work. People are doing this because they have experience to offer, but only if it's relevant to a problem. If they have no experience in a problem then there is no point in trying to offer something other than known facts. One of the major things about Ubuntu is that there is a wealth of information available and that other people may have had similar problems, and the way to find that is to use the search engine of your choice. No-one is obliged to give you an answer, but many will try to help within reason. s/ Ok, I appreciate that, but is very frustrating, when an op comes along with a similar problem, they get asked questions, given help, and none of this 'we help you because we can, and not because we have to attitude, I asked a question, the same as the op, I do feel like I am being pushed away. Esecially since a similar question is being put forward. Why are you bringing that up. What is the difference between the op asking a quesiton and me asking a question. As far as I'm concerned, absolutely nothing. A similar question doesn't necessarily have a similar answer. I have to point out that you were given a solution, which was basically 'don't use samba', which I think is a reasonable reply. I have to admit that I would automatically use samba in such a situation myself as I have Linux machines, Windows machines and Macs at home and it's really the only common protocol for sharing directories across all three platforms, but for Ubuntu-only, there are other solutions. s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 12:17, Simon Greenwood wrote: OK, I've just had a look back for your original query, and it would appear that you're trying to connect two machines running Ubuntu using Samba. The people who replied suggested that you don't use Samba and use SSHFS instead, which is built into Nautilus, the reason being that Samba is an implementation of Microsoft's SMB networking protocol that is mostly reverse engineered, and as such is not well documented and prone to bugs. I have no other information than that which I looked up and found here: http://ubuntuforums.org/showthread.php?t=1026668, for which the remedy appears to be add your user to the group 'sambashares', change the group permission on the directory /var/lib/samba/usershares and possibly log in and log out. Ok, I had a clean install of my other netbook, in Network, it has two Icons, one for Windows, one for Ubuntu, both of which I can click on, and open the directories I want. In the problem computer, Only the Windows Icon is there, and if clicked on it gives an error 'unable to mount'. I get the error 255 the same way as the OP gets it. Now, what you mentione above, how would I go about doing what you suggested, which I have added in red colour? I dont have the experience you have. I am a quick learner though, but I need to be shown. In response to your second reply, yes, I probably did as it's something that I know a bit about and have experience in similar problems. However, I don't know anything about your problem so I am using Google and can only give you the same response that Google would give you, which seems to be a valid one. So, with the experience you have, what do you need to know, in order for you to make any form of judgement? I can only give information based on my knowledge, which isnt huge. I am just asking a questsion, I am not making any demands. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 12:40, Simon Greenwood wrote: As far as I'm concerned, absolutely nothing. A similar question doesn't necessarily have a similar answer. I have to point out that you were given a solution, which was basically 'don't use samba', which I think is a reasonable reply. I have to admit that I would automatically use samba in such a situation myself as I have Linux machines, Windows machines and Macs at home and it's really the only common protocol for sharing directories across all three platforms, but for Ubuntu-only, there are other solutions. s/ As per the op, if you didnt know something I saw that you asked him, so what makes that any different to my situation, but instead of asking me, I got a whole different thing altogether. Why is it that you ask one person, and not another? Not directed at just one person. I think in my origional message I talked about windows directory, when I mentioned the Icons in Network. and not being able to mount on one. On this machine I am using, its a windows machine, with my Ubuntu partitioned. I can get to see the windows partition, but going to Filesystem, but this machine cannot be found using the network. I asked about using SSH, because it was something that maybe I might have been able to use, but I could work out how to use it. How do I get smbtree to even come up. Where is it? Maybe if I could get that to work, I might get a reason why thispc wont share? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 12:26, John MM scoundrel...@gmail.com wrote: On 03/03/11 12:17, Simon Greenwood wrote: OK, I've just had a look back for your original query, and it would appear that you're trying to connect two machines running Ubuntu using Samba. The people who replied suggested that you don't use Samba and use SSHFS instead, which is built into Nautilus, the reason being that Samba is an implementation of Microsoft's SMB networking protocol that is mostly reverse engineered, and as such is not well documented and prone to bugs. I have no other information than that which I looked up and found here: http://ubuntuforums.org/showthread.php?t=1026668, for which the remedy appears to be add your user to the group 'sambashares', change the group permission on the directory /var/lib/samba/usershares and possibly log in and log out. Ok, I had a clean install of my other netbook, in Network, it has two Icons, one for Windows, one for Ubuntu, both of which I can click on, and open the directories I want. In the problem computer, Only the Windows Icon is there, and if clicked on it gives an error 'unable to mount'. I get the error 255 the same way as the OP gets it. Now, what you mentione above, how would I go about doing what you suggested, which I have added in red colour? I dont have the experience you have. I am a quick learner though, but I need to be shown. Right, your computers are both detecting that you have a Windows network. I *assume*, and I don't know this as I don't currently have an Ubuntu machine to hand, that your netbook is detecting some kind of native Ubuntu share. In the Windows network you should be able to see any Windows machines on your network that have the same workgroup or Windows domain. I can't remember how to set this up off the top of my head, but that is basically what you need to do. In response to your second reply, yes, I probably did as it's something that I know a bit about and have experience in similar problems. However, I don't know anything about your problem so I am using Google and can only give you the same response that Google would give you, which seems to be a valid one. So, with the experience you have, what do you need to know, in order for you to make any form of judgement? I can only give information based on my knowledge, which isnt huge. I am just asking a questsion, I am not making any demands. You're misunderstanding me here: I mean information relating to a solution to the problem that you have, which I don't have, short of searching for it, which you can do yourself. I'm not trying to fob you off, merely suggesting that much of what you want to know will be available on the web and indeed using man and info at the command line. The situation with smbtree is that what is available is basically the man page. I'm not familiar with it and I don't know even whether it's present in Ubuntu, but from the man page, running 'smbtree -D domain would appear to give you a list of machines in your domain if you have one. As to your second response to this, would I be correct in assuming that you have a dual booting machine? You will be able to see your Windows file system in Ubuntu as Ubuntu mounts it, but you can't see your Ubuntu partition in Windows as Windows can't see the Ubuntu filesystem. However, Windows is not running when Ubuntu is running and as such would not be visible on your network. Does that make sense? s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 13:19, Simon Greenwood wrote: running 'smbtree -D domain How do I find out what domain is, is it my IP address or what? As far as this machine, it seems if I go to /var/lib/samba/usershares all the files in there are locked. They have a lock on them. Before updating to 10.04, I could go into Places, Network, and in there would be a Windows Icon and a Ubuntu Icon, both of which if I clicked on them, would mount the respective directories. Now it seems its locked me out. Plus if I go the same as the op to a directory I want to share, as root, it shows I can share, as me I am locked out. I is a dual booting machine, running 10.10 Ubuntu. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
Just to show, when I try to share, the message I get is 'net usershare' returned error 255: net usershare add: failed to add share documents. Error was Operation not permitted' -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 13:23, John MM scoundrel...@gmail.com wrote: On 03/03/11 13:19, Simon Greenwood wrote: running 'smbtree -D domain How do I find out what domain is, is it my IP address or what? A Windows domain is the name given to an office network that is managed by a domain controller, which is a server. I don't think you've got a domain in that respect, so I think we're going off in the wrong direction. As far as this machine, it seems if I go to /var/lib/samba/usershares all the files in there are locked. They have a lock on them. Before updating to 10.04, I could go into Places, Network, and in there would be a Windows Icon and a Ubuntu Icon, both of which if I clicked on them, would mount the respective directories. Now it seems its locked me out. Plus if I go the same as the op to a directory I want to share, as root, it shows I can share, as me I am locked out. I is a dual booting machine, running 10.10 Ubuntu. The lock means that they are owned by root or another user, but most likely root. I think I need to do this with a machine running Ubuntu in front of me, so I'll get back to you tonight. s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 13:54, Simon Greenwood wrote: The lock means that they are owned by root or another user, but most likely root. I think I need to do this with a machine running Ubuntu in front of me, so I'll get back to you tonight. s/ Ok, thank you. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 13:46, John MM scoundrel...@gmail.com wrote: On 03/03/11 13:54, Simon Greenwood wrote: The lock means that they are owned by root or another user, but most likely root. I think I need to do this with a machine running Ubuntu in front of me, so I'll get back to you tonight. s/ Ok, thank you. OK, I'm home now... Try this: open a terminal by clicking on Applications | Accessories | Terminal Check that you are a member of the sambashare group by typing 'id your user name'. You'll get output like this: uid=1000(simong) gid=1000(simong) groups=1000(simong),4(adm),20(dialout),24(cdrom),29(audio),46(plugdev),104(fuse),110(netdev),111(lpadmin),119(admin),122(sambashare),123(vboxusers) If sambashare is in the list, do the following: Type 'sudo chgrp sambashare /var/lib/samba/usershares' Enter your password when prompted. This will let members of the sambashare group (you) write to the usershares folder, which would appear to resolve the problem that I googled. You might have to log out and log in again. HTH s/ -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 18:50, Simon Greenwood wrote: On 3 March 2011 13:46, John MM scoundrel...@gmail.com mailto:scoundrel...@gmail.com wrote: On 03/03/11 13:54, Simon Greenwood wrote: The lock means that they are owned by root or another user, but most likely root. I think I need to do this with a machine running Ubuntu in front of me, so I'll get back to you tonight. s/ Ok, thank you. OK, I'm home now... Try this: open a terminal by clicking on Applications | Accessories | Terminal Check that you are a member of the sambashare group by typing 'id your user name'. You'll get output like this: uid=1000(simong) gid=1000(simong) groups=1000(simong),4(adm),20(dialout),24(cdrom),29(audio),46(plugdev),104(fuse),110(netdev),111(lpadmin),119(admin),122(sambashare),123(vboxusers) If sambashare is in the list, do the following: Type 'sudo chgrp sambashare /var/lib/samba/usershares' Enter your password when prompted. This will let members of the sambashare group (you) write to the usershares folder, which would appear to resolve the problem that I googled. You might have to log out and log in again. HTH s/ Hi, sorry I just got this now. I tried that, and it doesnt seem to work. Now since entering sudo chgrp sambashare /var/lib/samba/usershares, I no longer have locks next to each directory, but I now have X's next to them. Now sure why that should have happened, I did exactly as you said. I can give the results to the output of id username if you want. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 19:38, John MM scoundrel...@gmail.com wrote: On 03/03/11 18:50, Simon Greenwood wrote: On 3 March 2011 13:46, John MM scoundrel...@gmail.com wrote: On 03/03/11 13:54, Simon Greenwood wrote: The lock means that they are owned by root or another user, but most likely root. I think I need to do this with a machine running Ubuntu in front of me, so I'll get back to you tonight. s/ Ok, thank you. OK, I'm home now... Try this: open a terminal by clicking on Applications | Accessories | Terminal Check that you are a member of the sambashare group by typing 'id your user name'. You'll get output like this: uid=1000(simong) gid=1000(simong) groups=1000(simong),4(adm),20(dialout),24(cdrom),29(audio),46(plugdev),104(fuse),110(netdev),111(lpadmin),119(admin),122(sambashare),123(vboxusers) If sambashare is in the list, do the following: Type 'sudo chgrp sambashare /var/lib/samba/usershares' Enter your password when prompted. This will let members of the sambashare group (you) write to the usershares folder, which would appear to resolve the problem that I googled. You might have to log out and log in again. HTH s/ Hi, sorry I just got this now. I tried that, and it doesnt seem to work. Now since entering sudo chgrp sambashare /var/lib/samba/usershares, I no longer have locks next to each directory, but I now have X's next to them. Now sure why that should have happened, I did exactly as you said. I can give the results to the output of id username if you want. No, that's OK at the moment. /var/lib/samba/usershares should contain files with the names of shares on your machine. These files should be owned by you. If they aren't, from terminal, type 'sudo chown username:username /var/lib/usershares/sharename'. You should have something like this: ls -l /var/lib/samba drwxrwx--T 2 root sambashare 4096 2011-02-09 20:30 usershares ls -l /var/lib/samba/usershares -rw-r--r-- 1 simong simong 78 2011-02-09 20:30 music s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 19:57, Simon Greenwood wrote: No, that's OK at the moment. /var/lib/samba/usershares should contain files with the names of shares on your machine. These files should be owned by you. If they aren't, from terminal, type 'sudo chown username:username /var/lib/usershares/sharename'. You should have something like this: ls -l /var/lib/samba drwxrwx--T 2 root sambashare 4096 2011-02-09 20:30 usershares ls -l /var/lib/samba/usershares -rw-r--r-- 1 simong simong 78 2011-02-09 20:30 music s/ Ok, when I try to cd to samba, it says no file or directory, even though I can see it. I can cd to /lib but that is it. I wonder if that is why? but when I do ls -l /var/lib/samba I get drwxrwx--T 2 root sambashare 4096 2011-03-03 19:34 usershares all other directories in that folder are root root this is what else is in that directory -rw--- 1 root root 16384 2009-08-24 22:29 account_policy.tdb -rw--- 1 root root 77824 2009-08-24 22:29 group_mapping.ldb -rw--- 1 root root8192 2009-08-24 22:29 ntdrivers.tdb -rw--- 1 root root 696 2009-08-24 22:29 ntforms.tdb -rw--- 1 root root 20480 2010-10-15 19:48 ntprinters.tdb -rw--- 1 root root 36864 2011-03-03 19:33 passdb.tdb drwxr-xr-x 2 root root4096 2009-08-24 22:29 perfmon drwxr-xr-x 10 root root4096 2009-08-24 22:29 printers drwxr-xr-x 3 root root4096 2011-03-01 18:26 private -rw--- 1 root root 36864 2009-10-14 21:00 registry.tdb -rw--- 1 root root 24576 2009-06-04 14:19 secrets.tdb -rw--- 1 root root 36864 2009-11-12 19:59 share_info.tdb drwxrwx--T 2 root sambashare 4096 2011-03-03 19:34 usershares -rw-r--r-- 1 root root8192 2009-08-24 22:29 winbindd_idmap.tdb Hope that helps -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 19:57, Simon Greenwood wrote: No, that's OK at the moment. /var/lib/samba/usershares should contain files with the names of shares on your machine. These files should be owned by you. If they aren't, from terminal, type 'sudo chown username:username /var/lib/usershares/sharename'. You should have something like this: ls -l /var/lib/samba drwxrwx--T 2 root sambashare 4096 2011-02-09 20:30 usershares ls -l /var/lib/samba/usershares -rw-r--r-- 1 simong simong 78 2011-02-09 20:30 music s/ ok, after reading that a bit more, and fiddling a bit, I have managed to cd to usershares, and ls -l to view permissions. Funny thing, some of the files have username some have root. I get what you are trying to say, about changing permissions and ownership of directories inside usershares, but if I am in usershares, how does that change the command? I dont want to mess it up. thank you. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 19:57, Simon Greenwood wrote: No, that's OK at the moment. /var/lib/samba/usershares should contain files with the names of shares on your machine. These files should be owned by you. If they aren't, from terminal, type 'sudo chown username:username /var/lib/usershares/sharename'. You should have something like this: ls -l /var/lib/samba drwxrwx--T 2 root sambashare 4096 2011-02-09 20:30 usershares ls -l /var/lib/samba/usershares -rw-r--r-- 1 simong simong 78 2011-02-09 20:30 music s/ Yay, it worked, I managed to work it out, and get my Desktop to be shared. How do I make it so that all files in the folder are changed at once? Just needed a little pointing in the right direction, that is all it too. One question though, how secure is the now? brilliant.told you I learn quick. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 03/03/11 19:57, Simon Greenwood wrote: No, that's OK at the moment. /var/lib/samba/usershares should contain files with the names of shares on your machine. These files should be owned by you. If they aren't, from terminal, type 'sudo chown username:username /var/lib/usershares/sharename'. You should have something like this: ls -l /var/lib/samba drwxrwx--T 2 root sambashare 4096 2011-02-09 20:30 usershares ls -l /var/lib/samba/usershares -rw-r--r-- 1 simong simong 78 2011-02-09 20:30 music s/ Well, got rid of the error 255, but still cant see the directories from the other computer, so something is still stopping the network. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 3 March 2011 21:17, John MM scoundrel...@gmail.com wrote: On 03/03/11 19:57, Simon Greenwood wrote: No, that's OK at the moment. /var/lib/samba/usershares should contain files with the names of shares on your machine. These files should be owned by you. If they aren't, from terminal, type 'sudo chown username:username /var/lib/usershares/sharename'. You should have something like this: ls -l /var/lib/samba drwxrwx--T 2 root sambashare 4096 2011-02-09 20:30 usershares ls -l /var/lib/samba/usershares -rw-r--r-- 1 simong simong 78 2011-02-09 20:30 music s/ Well, got rid of the error 255, but still cant see the directories from the other computer, so something is still stopping the network. Check that you can ping either computer each way, that SMB sharing is set up on your netbook - it isn't installed by default as Gordon has pointed out, and you'll have to search for Samba in the Software Centre. s/ -- Twitter: @sfgreenwood My CV: http://bit.ly/sfg http://bit.ly/sfgreenwood_cv_new_cv Is this your sanderling? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 07:09, Simon Greenwood wrote: Check that you can ping either computer each way, that SMB sharing is set up on your netbook - it isn't installed by default as Gordon has pointed out, and you'll have to search for Samba in the Software Centre. s/ Um, when I look in the samba directory, it still has a lock on them. As far as having it installed, it is installed in Synaptic. How do I ping a machine? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 04/03/11 07:09, Simon Greenwood wrote: Check that you can ping either computer each way, that SMB sharing is set up on your netbook - it isn't installed by default as Gordon has pointed out, and you'll have to search for Samba in the Software Centre. s/ Appologies, just woke up, forget what I just said about the directories inside samba directory, the ones I want to share have no locks. I'm wondering, what are the permissions/ownership for the samba directory itself? Maybe that is why I cant see in the samba directory. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On Tue, Mar 1, 2011 at 3:58 PM, Gordon Burgess-Parker gbpli...@gmail.comwrote: Why should the access be OK one way but not the other? Firewall rules? Samba server started? Check ufw status on both machines, and output netstat -auntp to see whether the necessary samba ports are open and samba is listening for connections :) -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 01/03/11 16:36, Paul Morgan-Roach wrote: On Tue, Mar 1, 2011 at 3:58 PM, Gordon Burgess-Parker gbpli...@gmail.com mailto:gbpli...@gmail.com wrote: Why should the access be OK one way but not the other? Firewall rules? Samba server started? Check ufw status on both machines, and output netstat -auntp to see whether the necessary samba ports are open and samba is listening for connections :) Presumably I only need to do that on the Netbook as that's the one I can't access? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On Tue, Mar 1, 2011 at 4:39 PM, Gordon Burgess-Parker gbpli...@gmail.comwrote: On 01/03/11 16:36, Paul Morgan-Roach wrote: On Tue, Mar 1, 2011 at 3:58 PM, Gordon Burgess-Parker gbpli...@gmail.comwrote: Why should the access be OK one way but not the other? Firewall rules? Samba server started? Check ufw status on both machines, and output netstat -auntp to see whether the necessary samba ports are open and samba is listening for connections :) Presumably I only need to do that on the Netbook as that's the one I can't access? Yes - sorry - I should have been more descriptive :( You should get something similar to the following: $ sudo ufw status Status: active To Action From -- -- Samba ALLOW Anywhere Apache ALLOW Anywhere 22 ALLOW Anywhere 514/udpALLOW Anywhere $ sudo netstat -auntp | grep samba tcp0 0 0.0.0.0:10240.0.0.0:* LISTEN 1186/samba tcp0 0 0.0.0.0:135 0.0.0.0:* LISTEN 1186/samba udp0 0 10.203.7.210:1370.0.0.0:* 1187/samba udp0 0 10.203.7.255:1370.0.0.0:* 1187/samba udp0 0 0.0.0.0:137 0.0.0.0:* 1187/samba udp0 0 10.203.7.210:1380.0.0.0:* 1187/samba udp0 0 10.203.7.255:1380.0.0.0:* 1187/samba udp0 0 0.0.0.0:138 0.0.0.0:* 1187/samba Hope this helps -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 01/03/11 16:51, Paul Morgan-Roach wrote: You should get something similar to the following: $ sudo ufw status Status: active Status inactive. What does that imply? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On Tue, Mar 1, 2011 at 4:55 PM, Gordon Burgess-Parker gbpli...@gmail.comwrote: On 01/03/11 16:51, Paul Morgan-Roach wrote: You should get something similar to the following: $ sudo ufw status Status: active Status inactive. What does that imply? It's not Iptables that's stopping the connection. Did you run sudo netstat -auntp | grep samba Does that output anything? If not, you'll need to run /etc/init.d/samba4/start and try again (assuming the samba server is installed) -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
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 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
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@gordon-laptop:~$ sudo netstat -auntp | grep samba [sudo] password for gordon: tcp0 0 0.0.0.0:10240.0.0.0:* LISTEN 9168/samba tcp0 0 0.0.0.0:135 0.0.0.0:* LISTEN 9168/samba udp0 0 192.168.1.71:137 0.0.0.0:* 9169/samba udp0 0 192.168.1.255:137 0.0.0.0:* 9169/samba udp0 0 0.0.0.0:137 0.0.0.0:* 9169/samba udp0 0 192.168.1.71:138 0.0.0.0:* 9169/samba udp0 0 192.168.1.255:138 0.0.0.0:* 9169/samba udp0 0 0.0.0.0:138 0.0.0.0:* 9169/samba And on the Netbook: gordon@gordon-netbook:~$ sudo netstat -auntp |grep samba tcp0 0 0.0.0.0:10240.0.0.0:* LISTEN 1933/samba tcp0 0 0.0.0.0:135 0.0.0.0:* LISTEN 1933/samba udp0 0 192.168.1.72:137 0.0.0.0:* 1934/samba udp0 0 192.168.1.255:137 0.0.0.0:* 1934/samba udp0 0 0.0.0.0:137 0.0.0.0:* 1934/samba udp0 0 192.168.1.72:138 0.0.0.0:* 1934/samba udp0 0 192.168.1.255:138 0.0.0.0:* 1934/samba udp0 0 0.0.0.0:138 0.0.0.0:* 1934/samba gordon@gordon-netbook:~$ I still get the same error when trying to access the Netbook from the Laptop -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
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@gordon-laptop:~$ sudo netstat -auntp | grep samba [sudo] password for gordon: tcp0 0 0.0.0.0:10240.0.0.0:* LISTEN 9168/samba tcp0 0 0.0.0.0:135 0.0.0.0:* LISTEN 9168/samba udp0 0 192.168.1.71:137 0.0.0.0:* 9169/samba udp0 0 192.168.1.255:137 0.0.0.0:* 9169/samba udp0 0 0.0.0.0:137 0.0.0.0:* 9169/samba udp0 0 192.168.1.71:138 0.0.0.0:* 9169/samba udp0 0 192.168.1.255:138 0.0.0.0:* 9169/samba udp0 0 0.0.0.0:138 0.0.0.0:* 9169/samba And on the Netbook: gordon@gordon-netbook:~$ sudo netstat -auntp |grep samba tcp0 0 0.0.0.0:10240.0.0.0:* LISTEN 1933/samba tcp0 0 0.0.0.0:135 0.0.0.0:* LISTEN 1933/samba udp0 0 192.168.1.72:137 0.0.0.0:* 1934/samba udp0 0 192.168.1.255:137 0.0.0.0:* 1934/samba udp0 0 0.0.0.0:137 0.0.0.0:* 1934/samba udp0 0 192.168.1.72:138 0.0.0.0:* 1934/samba udp0 0 192.168.1.255:138 0.0.0.0:* 1934/samba udp0 0 0.0.0.0:138 0.0.0.0:* 1934/samba gordon@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. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
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. Ok - can you try $ sudo service samba4 restart ? -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 01/03/11 18:33, Paul Morgan-Roach wrote: 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. Ok - can you try $ sudo service samba4 restart ? I think I fixed that with a restart. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
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@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@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@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. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 01/03/11 18:11, Gordon Burgess-Parker wrote: 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: Samba 4 is quite new and not really what most peeps use yet as far as I'm aware. I'm running Samba 3.4.7 on my server (10.04) and a client machine (10.10) is showing 3.5.4. These are the standard versions AFAICT. On my home server that runs samba I have to look for smb and nmb to find what if samba daemons are listening to the correct ports. sudo netstat -auntp | grep nmbd sudo netstat -auntp | grep smbd These are the names of the Samba daemons. The samba client is part of the Linux kernel and does not need any extra software to use it. from any computer try smbtree as this will show you what Samba can see on the LAN. I'd suggest Googling for some Samba expert tips rather than blindly installing Samba4 possibly on on top of samba3. Find your smb.conf and let people see what's in there too (obviously remove any sensitive data). Al -- The Open Learning Centre http://www.theopenlearningcentre.com -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Strange file sharing problem
On 01/03/11 18:45, Alan Lord (News) wrote: from any computer try smbtree as this will show you what Samba can see on the LAN. On both machines that command gives precisely nothing! Find your smb.conf and let people see what's in there too (obviously remove any sensitive data). The smb.conf files appear to be exactly the same on both machines -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/