Page 1 of 1
KDE and Samba.

Posted:
Jun 9th, '12, 11:03
by pmithrandir
Hello,
I would like to know if mageia is able to share folder with samba on KDE.
If you click right on a folder in KDe, you can select "share" and normally when you validate, the folder should be shared on samba network.
I tried, but it was not a success. The folder doesn't appear in MCC samba section.
Do you know if it should works, and if there is something to do to enable it ?
It would be much more quick to share stuff for me.
Thanks
Pierre
Re: KDE and Samba.

Posted:
Jun 12th, '12, 13:11
by wintpe
as Unix, and Linux have multiple ways to share fles, I cant see why any single right click share should imply samba.
Ive not noticed this option before except in kde3 when there was a utility that did link to samba (forgoten its name).
but unix is more likly (commonly) to share via NFS than samba.
thats bcause in NFS there is a common UID shareing system available, ie NIS or ldap.
sharing across samba requires that samba is either registered with a domain controller via "net join"
or a mapping of users is setup in unix passwd and smbpasswd.
otherwise all sharing is anonymous, and no access controls.
regards peter
Re: KDE and Samba.

Posted:
Jun 12th, '12, 14:00
by pmithrandir
I think KDE explicitly said it is samba sharing...
Re: KDE and Samba.

Posted:
Jun 13th, '12, 00:30
by doktor5000
What do you get when you run
- Code: Select all
kcmshell4 'fileshare'
in a terminal as normal user?
Is there a Samba or NFS server installed and running on your box?
Re: KDE and Samba.

Posted:
Jun 14th, '12, 16:11
by wintpe
ok well we all learn something new,
so as long as the services are running theres some integration
between kde and those services.
regards peter
Re: KDE and Samba.

Posted:
Jun 14th, '12, 19:50
by doktor5000
wintpe wrote:so as long as the services are running theres some integration between kde and those services.
Well, better make that "there should be integration" ...

Re: KDE and Samba.

Posted:
Jun 14th, '12, 20:00
by pmithrandir
doktor5000 wrote:What do you get when you run
- Code: Select all
kcmshell4 'fileshare'
in a terminal as normal user?
Is there a Samba or NFS server installed and running on your box?
Hello, I get that :
- Code: Select all
[pmithrandir@portablePierre ~]$ kcmshell4 'fileshare'
Impossible de trouver le module « fileshare ». Regardez kcmshell4 --list pour obtenir la liste de tous les modules.
And in the available module, nothing close to file share.
Thanks for your help
Pierre
Re: KDE and Samba.

Posted:
Jun 15th, '12, 00:55
by doktor5000
Did you install from LiveCD or DVD?
Re: KDE and Samba.

Posted:
Jun 15th, '12, 09:06
by pmithrandir
I installed it from live CD mageia 1, went to cauldron, and finally on mageia 2.
Is there any package to install ?
Re: KDE and Samba.

Posted:
Jun 18th, '12, 22:50
by doktor5000
Try to install task-kde4 (make sure to set the filter in software management to "All" instead of "Packages with GUI")
It will give you a full KDE install, as there's just not enough place on a CD for that.
This can also be used to add KDE handbooks and some widgets when you've done a default install from DVD.
Re: KDE and Samba.

Posted:
Jun 20th, '12, 19:11
by pmithrandir
This package is already installed... and there is another one task-KDE4-minimal installed also.
Re: KDE and Samba.

Posted:
Jul 7th, '12, 15:29
by pmithrandir
Hi,
Do you have any other idea on how to make it works ?
Pierre
Re: KDE and Samba.

Posted:
Jul 7th, '12, 16:41
by doktor5000
Do you have the package samba-server and/or nfs-utils installed and did you try to setup an SMB/NFS share via MCC?
Re: KDE and Samba.

Posted:
Jul 8th, '12, 14:40
by pmithrandir
Hello,
As I said, I'm able to share some forlder with MCC, but my question was to be able to do it from KDE directly.
Right click on a folder
properties
Share
Share with Samba.
When I do that, KDE seems to do it, but it's not possible to see it with other shared folder.
Re: KDE and Samba.

Posted:
Jul 8th, '12, 15:38
by pmithrandir
some result with dolphin launched from konsole.
- Code: Select all
dolphin(7682) KSambaSharePrivate::add: We got some errors while running 'net usershare add' ("usershare", "add", "Documents", "/home/pmithrandir/Documents", "", "Everyone:r", "guest_ok=n")
dolphin(7682) KSambaSharePrivate::add: "net usershare: usershares are currently disabled
Re: KDE and Samba.

Posted:
Jul 8th, '12, 15:39
by doktor5000
pmithrandir wrote:When I do that, KDE seems to do it, but it's not possible to see it with other shared folder.
Can you please explain what you mean by the last part?
Re: KDE and Samba.

Posted:
Jul 8th, '12, 15:49
by pmithrandir
I mean that I get no error message from KDE saying there is an issue (in GUI part I mean, because in konsole, I get the last message).
The folder is displayed with a little earth on it, so it seems that KDE has started to share it.
But If I'm browsing from another computer, I can't see it. There is only the folder I set up in MCC.