[Samba] difference between samba and smbclient
Hi list. I am wondering if I am running the right software to get my windows 7 shares mounted. could someone please tell me, what is the difference between samba, and smbclient? at the moment, I have samba and smbclient installed. I also have smbfs installed, though I understand this is deprecated, I just thought I might be able to get smbfs to work whereas I can't get samba, smbclient and cifs to work. however, I am unable to get any of them to mount my shares, samba doesn't even seem to try and connect to my share, smbfs and smbclient do, but they return a message about no suitable address being found. so out of all of these packages, what do I need to actually have installed, as its quite confusing having all these different packages. I want to share files from windows 7 64 bit to my distro based off ubuntu 11.04, I am not going to be sharing from linux to windows 7. I did install a gui for samba called system-config-samba. it seems to add a section to my /etc/smb.conf file, containing what I put in for the share, but doesn't seem to mount. You would think they could have created some kind of gui for mounting shares, so much easier than the terminal. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] difference between samba and smbclient
On 14/08/2011 20:22, Mark Reidenbach wrote: On Sun, Aug 14, 2011 at 1:07 PM, alex wallis alexwallis...@googlemail.com mailto:alexwallis...@googlemail.com wrote: I want to share files from windows 7 64 bit to my distro based off ubuntu 11.04, I am not going to be sharing from linux to windows 7. You culd try something like this: mount -t cifs //server/share /mnt/win7 -o sec=ntlmv2i,user=domain/user,password=passwd Hi Mark, thanks for your reply, that makes things clearer. So, does this mean I don't need to have samba, smbfs or smbclient installed? I tried the command you suggested above, can you please explain what the sec=ntlmv2i part means? when I entered the command above which you gave me, it came up with a password prompt, and I couldn't get rid of it. so I tried replacing my windows user name with the word guest, as I did when I mounted cifs shares under xp, but I still got stuck on the password prompt. my wi ndows machine doesn't have a password on it, as I am the only user. its host name is alex and it is on the MSHOME workgroup. Does the case of the workgroup name make a difference when entering it? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] how to upgrade to samba 3.6.0
HI Michael, sorry yes the rest of your message did answer my questions, I guess I didn't read carefully enough, I am not on many lists where the convention is to do in line replying, I prefer top posting, but I guess that's me being lazy lol. Anyway, to clear up the confusion. What happened was this, originally when I wrote to the list a few days ago I was running a distro based off ubuntu 10.04, obviously the version of samba it was pointing me two was 3.4, I actually didn't know individual distro versions pointed at different packages, I just assumed they all used the same package versions. so when I was using the distro based off ubuntu 10.4, that's when I went hunting around for a repository that would install samba 3.5. Anyway, after writing to the list I then discovered that there was a new version of my particular distro out, based off ubuntu 11.04, which I downloaded and installed. so now I am running samba 3.5 from the correct repository. I am no longer getting a permission denied message when I try and mount my share, it gives me some error message about the wrong fs type, but I don't think samba is even trying to connect to the share, as it returns this error instantly. I have tried switching off my firewall but this hasn't helped. I have shared the folders I want to share on my windows 7 host machine, and I have also added an entry for it to my /etc/hosts file. 192.168.1.254 alex I know that I am probably not providing any useful information to solve this problem, if someone could tell me how to pull up any logs that might give us a clue about why my share isn't working I will be happy to provide copies to the list. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] how to upgrade to samba 3.6.0
Hi. sorry, I didn't realise my replies only went to individual users, I thought the replies went to the list, as that is how most lists are configured these days. So, to answer questions, I am running ubuntu 11.04, 64 bit. I thought I was running lucid, but the latest version of the distro I use isn't based off that. I have some experience with compiling software from source for linux, would this be possible for my version of ubuntu? does the version I am using really make a difference to samba? if its quite technical I am not sure if I would be confident about doing it, as I am only just starting out with linux and samba, and have only compiled a few things from svn which didn't need that much configuration. When I did the upgrade to samba 3.5, the repository said it was for ubuntu 9.04, and it did ask me a few questions I wasn't sure how to answer. Would it be easier for me to totally remove samba and start again? On 12/08/2011 17:21, Michael Wood wrote: Hi Please copy the samba mailing list on your replies. On 12 August 2011 14:38, alex wallisalexwallis...@googlemail.com wrote: On 12/08/2011 09:00, Michael Wood wrote: On 12 August 2011 08:50, Helmut Hullenhul...@t-online.dewrote: Hallo, Christian, Du meintest am 11.08.11: I am running a version of ubuntu lucid 64 bit, and so will be upgrading with the apt-get program. Well, I have no idea what are plans for Ubuntu (you don't tell what version you're usingsounds like 8.04) but I don't think there will be official upgrades to 3.6 in that version of the distro. Hi, I am using Ubuntu 11.04, I made a mistake, I used to run a lucid based system, but this current distro I am using isn't based off that, but previous versions were. Does the version of ubuntu I am running make a difference to samba then? Yes. Each distribution creates packages of the software that they ship so that you don't have to go searching around the Internet for it. Also they test that the version they ship works with the other software they package etc. So in general you should stick with the pre-packaged versions of Samba (and other software) that comes with your distribution, unless you know what you are doing. the repository I got the 3.5 upgrade from said that it was intended for ubuntu 9.04, and when I installed it I was asked quite a few questions I This does not make sense to me. Ubuntu 11.04 comes with Samba 3.5 and it definitely would not have said it was for Ubuntu 9.04. That sounds like you went searching around the Internet for a Samba package where there was one already available in the official Ubuntu repositories. You really should avoid installing stuff from random repositories unless you know what you're doing. wasn't sure of the answers to. Perhaps the best option would be for me to make a totally clean virtual machine and then install samba again from scratch, I haven't installed much yet to this machine, so it wouldn't be difficult. That sounds like a good plan. Then just install Samba from synaptic (or maybe it's available via the Software Centre or whatever they call it). Otherwise just try apt-get install samba from the command line. That should give you version 3.5 as you can see here: http://packages.ubuntu.com/natty/samba regarding the suggestion of compiling samba 3.06 from source, I am familiar with compiling linux software, as I have done it before, but if it starts asking me really complicated questions then I wouldn't know what to answer. Compiling from source is great if you need to do it, but in this case, and in most cases, you don't need to, because the pre-compiled software is already available in Ubuntu. If you were running an old version of Ubuntu, Samba 3.5 would not be available in the official repositories, but 3.4 should work just as well for what you seem to need. It is not necessary to run the latest version of Samba. As long as you don't try running really old versions :) I hope that helps. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] how to upgrade to samba 3.6.0
Hi list. I am a complete newbie to samba and not particularly experienced with linux, can someone please tell me how do I upgrade to samba 3.6.0? I have managed to upgrade from the default samba 3.4 that the ubuntu repositories provide to samba 3.5, but obviously would like to run the latest version I am just not sure what repository I need to add etc. I am running a version of ubuntu lucid 64 bit, and so will be upgrading with the apt-get program. I would also really appreciate some help getting my windows 7 64 bit shares to work with samba, I keep getting permission denied error 13 when I try to mount. I sent a message out yesterday asking for help, but it has been ignored. To be honest I have not found my experience with samba easy or enjoyable. I am sure once its all set up it will work fine, its just a question of getting it configured I guess, and I suppose it doesn't help ubuntu provides old versions. If someone could please help I would appreciate it, as I am about ready to give up. Many thanks, Alex. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] help with sharing files between windows 7 and linux
Hi list. I am not very experienced with samba, so would really appreciate some help. I am trying to share files between my windows 7 host OS and a linux guest OS being run by vmware workstation as a virtual machine. the linux machine I believe is a version of ubuntu lucid. I was able to share files with no problem between xp and this machine, but just can't get it to work with 7. I am mounting as the super user, I always become root with sudo su before trying to mount. Whenever I try I get the error message permission denied error 13. I have already tried disabling my firewall and antivirus, antispyware technology etc. This hasn't helped. I have tried to mount using the host name of my computer, and its IP address, again no luck. I can't get smbfs to mount my share either, I know that it has been deprecated in favour of samba, but a lot of forums on line seem to suggest its more reliable than samba. thanks so much for any help, Alex. The mount command I am putting in is sudo mount -t cifs //alex/code /mnt/rockbox/code -o guest,rw,iocharset=utf8,noserverino,gid=1000,uid=1000,nounix,file_mode=0777,dir_mode=0777 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] assistance with setting up a samba share.
Hi list. I am very new to the world of linux and to that of samba. For some time now I have been investigating how I should go about sharing a windows folder between windows and my linux system. However I have been having a few problems and I hope that someone on this list might be kind enough to help me. At first, I was trying to get smbfs working to share the folder, but I understand this has now largely been replaced by cifs. The system I am running is a virtual machine with vmware work station and it is debian based. I am using a command line interface with no gui. the share I want to set up is as follows. I want to share a folder called rockbox which is in the root of my windows machine, I want to set it so that its files are displayed in a folder called rockbox on my linux virtual machine, and I want linux to have read and write access on this folder, and all sub folders and there files under rockbox. My windows machine has no password on it, and several tutorials i have tried to follow say I should set the user name as guest in this event. I was wondering if someone could please tell me exactly how I should go about setting up my share so that it mounts every time i boot the virtual machine, and exactly what commands I need to enter. as each time I try to set the share up i get an error about not being able to change to the target directory. I have smbfs installed, and I have made sure the rockbox folder is shared under windows, the windows i am running is windows xp pro with sp3. Any help would be very appreciated. Alex. __ Information from ESET Smart Security, version of virus signature database 4711 (20091223) __ The message was checked by ESET Smart Security. http://www.eset.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba