LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   samba and kde - easy file sharing (https://www.linuxquestions.org/questions/debian-26/samba-and-kde-easy-file-sharing-637128/)

ShanaVar 04-22-2008 04:45 PM

samba and kde - easy file sharing
 
So I tried to ask this over on forums.debian.net and got no answer, I'll try here again, maybe just nobody got this behavior. Here's my post:

So i got some problem trying to setup samba and KDE. If I right click on a file and go to the file sharing dialog and select the option for easy sharing, that all users can share folders in their home directory and finally close the dialog, it says I'm not authorized to share the folder when i try next time. But i can share files when i authorize as admin and add the folder to that list in e.g. kontrol. I think this is a bu in KDE and i hope somebody got a workaround. By the way, I'm running an updated lenny system. If you need further information, ask. I hope i made my problem clear.

Greetings,
Patrick

PS: I use Lenny

camorri 04-23-2008 10:53 AM

Since this is your first post on this forum, welcome.

One of the great things about linux is there is always many ways of doing something. By your post I'm guessing you have not been using linux ( Debain ) for very long.

So, file sharing; with windoze machines. Some basics first.

In order to share files on a linux box to others on the network, you need Samba server installed and configured. The main configuration file is /etc/samba/smb.conf. When it is all said and done, this is the file to modify to add shares. You can edit it directly as root, or some distros supply gui tools to modify the file.

In order for a linux machine to use a file on another windows server, you need Samba client installed.

Use your distros package tools to install.

Nne of this has anything to do with KDE. KDE is the desktop you are running, there are others like Gnome, XFCE and the list goes on. The only roll KDE plays is the gui tools show up in KDE, or what ever other desktop you want to try on for size.

Now to add a share, edit the smb.conf file. Here is how I shared the home directories of all users on my system.

Quote:

[homes]
comment = Home Directories
read only = No
browseable = No
Here is an examle of how to share a directory that is not part of a users, home.

Quote:

[pictures]
comment = Cliffs digcam pics
writable = yes
valid users = cliff, user1, user2
path = /home/cliff/Pictures
write list = cliff
Samba is quite complicated. There are many tutorials on how to set up simple file sharing. So if you need more direction, look for them, do some reading, editing, testing etc. Ask questions when you can find the answer.

Hope this helps.

ShanaVar 04-23-2008 05:29 PM

well, I'm using Debian for 1 1/2 years now. And samba does work, editing text files, but i wanted to use the kde easy share option. That's the one i got a problem with, as not working when i set the radio button, samba is working fine. Anyway, i hope this is only a bug persistent in the actual version of kde and might be gone.

greetings


All times are GMT -5. The time now is 01:44 AM.