This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Need help with Samba shares ...

Tags: None
(comma "," separated)
User avatar
jherrmann
Registered Member
Posts
3
Karma
0
OS

Need help with Samba shares ...

Tue Nov 12, 2013 11:03 am
Hi there,

I am trying to change in our foundation all computer from Win7 to OpenSuse and up to now I was quite successful in preparing our test computer, although I have no significant Linux experience yet. Most of the software like libreoffice firefox etc. runs on Linux. For special Win software I use VirtualBox and hope that one day we will find software replacements in Linux.

But now I am stuck, with a very very important functional problem: Network/Samba shares. What ever I do, I have only read access to our NAS and If I use programs like LibreOffice to open a file on the NAS or another computers shared files, I always get the message: "You can only select local files " !?!?!?!

I even tried to mount in /etc/fstab ... without success. I assume that these mounts in fstab are processed to early in the boot procedure before the network is up and running !?

Anyway, my problem is now, that I need a solution to give our users full access to documents on a central NAS in an easy and simple way .
Any ideas/suggestions ?
We also often need to connect to Notebooks and exchange data ... and I guess we are running there again into similar problems, right ?.
What I need is a solution that's simple enough for an end user to use it.

TIA for your help

Joe

OpenSuse 12.3 KDE 4.10.5 "release1"
User avatar
jherrmann
Registered Member
Posts
3
Karma
0
OS

Re: Need help with Samba shares ...

Wed Nov 13, 2013 5:15 pm
Hi there,

have found in one of the topics a hint: Smb4K ! I really hoped to solve my problem with it ... nada, it works, but its completely unusable for an end user.
If the mount would be persistent - great, it would solve 90% of my problem. But one has to do the entire mount procedure each time after boot ... Unusable !

Please help me with this problem. Would it make sense to change the desktop or Linux distribution ?

Thanks in advance

Joe
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Need help with Samba shares ...

Wed Nov 13, 2013 6:37 pm
You can configure Smb4k accordingly:

open configure Smb4k - select shares in the left hand column - tick "remount recently used shares on program start"

I haven't tried it but it sounds as though it does exactly what you need.

All the best...


Debian testing
User avatar
jherrmann
Registered Member
Posts
3
Karma
0
OS

Re: Need help with Samba shares ...

Thu Nov 14, 2013 12:58 pm
Thanks Toad,

I have tried it and ... unfortunately, it does not work as expected.
It does not automatically activate the share again. I still have to manually activate the share and have to go through the entire wallet PW and user PW procedures.
But maybe it does only work if Smb4K gets started during the boot phase ... Will try to find a way tostart Smb4K somehow during the boot process.
I will report about it here.

Joe
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS
Llama
Registered Member
Posts
109
Karma
0
OS

Re: Need help with Samba shares ...

Fri Nov 15, 2013 7:33 am
I hope this can be of use. Requires systemd, though.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Need help with Samba shares ...

Fri Nov 15, 2013 10:38 pm
Quite a few distributions often had scripts which would mount network shares post-network startup - as openSUSE uses systemd exclusively from 12.3 onward, that solution should work for you however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
abeck
Registered Member
Posts
7
Karma
0
OS

Re: Need help with Samba shares ...

Sat Jan 25, 2014 9:44 pm
Hello joe,
I don't know if your item is already fixed, but I was also faced with a similar problem, i.e. to open, change and safe LibreOffice documents on a NAS drive.
What finally worked was to disable file locking in LO, which is described in http://www.libreoffice.org/get-help/readme
soffice to find in /usr/lib/libreoffice/program/

I use CIFS, and mounting was done with
sudo mount -t cifs //<server-IP-address>/<sharedrive> /<mountpoint>/<file> -o credentials=/home/alwin/.nascredentials,sec=ntlm
The entry in /etc/fstab should not be a problem, following the link, given by Toad

Kubuntu 13.10 / KDE4.11


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]