[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: [unrelated as hell]
by me on Thursday 21/Feb/2002, @13:49
>> Better add options for configuring smb or bfs shares to the properties dialog.

> KDE can't become so dependent on other projects like Samba.

This is true

> How is KDE supposed to know whether you have Samba installed, whether
> it is running,

It could check for the process and give a message when smbd is not running

> where its
> config files are, and which version you are using so it can write the
> config file properly?

The config file could be set up somewhere in Kcontrol/System. I think most of
the time it is in etc.

AFAIK the syntax for adding a share and whether it's read-ony or not etc hasn't
changed for aeons.


> What if Samba is installed but the config file is
> only writeable by root (the default on most distros I believe)?

kdesu

> What if smbd
> isn't started automatically when the system starts up?

Ask the user if he wants to start it + give a warning to change his setup
if he wants to have his share still available after rebooting.
And finally kdesu.


> This is the job of
> the distro, and they are doing it.

This is maybe true

> Lycoris will soon have right-click
> file sharing,I believe Mandrake already has it.

> In the meantime, I think a web server applet is a fine way to share files.
> What's wrong with serving files over http, as opposed to smb?

It's just strange IME.
It doesnt give you the same convenience than a filesystem.

Maybe ftp would even be better. This can at least be browsed more nicely in konq
and you can select multiple files at once
  Related Links
 ·   Articles on Multimedia
 ·   Also by me
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: [unrelated as hell]
by not me on Thursday 21/Feb/2002, @16:21
>Ask the user if he wants to start it + give a warning to change his setup

Every distro does config differently. KDE can't go messing with the system startup scripts because it doesn't know how they're laid out. Remember, KDE runs on many systems including Linux, BSD, Solaris, and maybe someday Windows.

> kdesu

Entering the root password just to share some files? That seems silly to me.

> The config file could be set up somewhere in Kcontrol/System.

So KDE is going to be mucking around with your distro's setup of Samba? How will KDE tell samba to use the new config file on system startup (remember, we can't edit the startup scripts)? What happens when a CLI user goes to edit the smb.conf file in /etc and it doesn't work?

If Samba was installed exactly the same way on every distro and every distro used the same startup sequence, KDE could do stuff like this. Right now though, since every distro does things differently, they have to set KDE up specifically for themselves. And they do. This is not the domain of the KDE project.

Perhaps in the future, kpf could be upgraded to be a WebDav server, to allow more ftp-like functionality, perhaps even with ssl for security. I think this might be the best overall solution, even better than Samba integration. As long as security is kept in mind of course.
[ Reply To This | View ]
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "Never miss an opportunity to throw away code." -- Guillaume Laurent
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]