I have a friend with a Billion router and two Ubuntu machines and his shares just never work. Windows machines, particularly Windows 7, can block a Samba share for no apparent reason. Sometimes the order of starting is important. If my WD TV Live is the first device active then it blocks the rest. I have occasionally had my network just not work for no logical reason. On your Debian machine can you see your own shares in Nautilus when you select network? If not it is just not working. Your username will be in the list, but it needs to be selected to be active. In Users and Groups go to manage groups and scroll down to sambashare and select properties. Also it is vitally important that you are a member of the group sambashare. It is important to do all of the steps, the chgrp and chmod commands allow for the appropriate permissions. So please review all the steps and look for spelling errors.įirst question - as a normal user when you right click and share do you get a hand symbol on the folder to indicate it is shared? I have tested the instructions on 6 different Debian installs - Squeeze or newer - and it has always worked. I can see the pc, and i can even open it, but no shares show up! I followed this howto, and i can share folders now. I have tried to make it as short and simple as I can, anyone with ideas or improvements please speak up. The share definitions are NOT stored in smb.confĪ user called Altair4 on the Linux Mint Debian Edition forums helped refine this howto with his critique of my slightly out of date approach that I used before. The share definitions are stored in /var/lib/samba/usershares automatically by nautilus-share. Restart and you should be able to right click on a folder and select "sharing options" just like in Ubuntu, and others on your network (including media players) should be able to see and browse the shared folders. If Users and Groups is not in your menus you need to install the package "gnome-system-tools". It is not enough that your login name is in the list, it must also be selected. Look in Manage Groups, scroll down to sambashare and select properties and select you user name to be a group member. In newer installations this line will already exist.Ĭhgrp sambashare /var/lib/samba/usersharesĮnsure the group sambashare is added to your user profile - Just go into "Users and Groups" and check, add if necessary. In the global section of /etc/samba/smb.conf add the lineįind the line security = user and add this line directly after You will need to edit /etc/samba/smb.conf as Superuser (su). To get started install samba and nautilus-share through Synaptic. The instructions should work for Squeeze and newer. This HowTo is for those users who have the need to set up shares in this manner. The simple way that Ubuntu sets up passwordless Samba shares makes this very easy. I have a home network which has a Multimedia PC and a WDTV Live network media player and I need to share a folder in my home folder to stream my home movies to a TV. It works just as well under Samba 4 as it has under Samba 3 Make sure you use the same windows username and password.Note: The upgrade to Samba 4 does not change the procedure. If you need other users to be able to access the share you need to add them to your computer and to samba as well. When you’re prompted for a password, use the same as you use for your login. When you’re finished remember to save the file of course. Now edit the file appropriate to your desired settings. If you prefer cli-enviroment nano and VIM will work just fine. Using gnome, use gedit and if you’re using kde, use kate or kwrite. To start the configuration we need to start an editor. $ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf-orginal.It can be a good idea to make a backup of the file before you start. We’re going to use it as base for further configuration. If you open the file already there you’ll see that it is a template. The samba-config file can be found in /etc/samba/smb.conf. To make sure it isn’t running you can perform following command. Before you start, make sure that samba isn’t running. Now we’re going to work with the configuration of samba. If it shouldn’t be installed please open a terminal now. First of all you need samba installed which it usually is by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |