Samba share access

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Samba share access

Postby msdobrescu » Sep 6th, '12, 19:06

Hello,

I have a NAS-like system, upgraded up to date (even from the Mandriva 2010 up to Mageia 2).
It have always worked fine, but now I have a situation I don't understand.
I cant' access Samba shares from another computer, even with right credentials, until I log on the system.
What should I do to fix this?

Thank you.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: Samba share access

Postby msdobrescu » Sep 10th, '12, 21:06

As I have changed the fstab and configured the KDE to automount the drives, I have had an issue: the automounting was available after KDE logon.

So, I have added these to my rc.local:

/usr/bin/udisks --mount /dev/sdb1
/usr/bin/udisks --mount /dev/sdc1
/usr/bin/udisks --mount /dev/sdd2
/usr/bin/udisks --mount /dev/sde1

Is there a better solution?

Thanks
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: Samba share access

Postby doktor5000 » Sep 11th, '12, 21:19

msdobrescu wrote:As I have changed the fstab and configured the KDE to automount the drives, I have had an issue: the automounting was available after KDE logon.


Where and how did you setup automounting of the drives in KDE? And what is the problem with automounting taking place after the logon?
As the drives get mounted with the rights of the user when automounted after logon. What do you want to achieve actually?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Samba share access

Postby msdobrescu » Sep 12th, '12, 21:46

doktor5000 wrote:
msdobrescu wrote:As I have changed the fstab and configured the KDE to automount the drives, I have had an issue: the automounting was available after KDE logon.


Where and how did you setup automounting of the drives in KDE? And what is the problem with automounting taking place after the logon?
As the drives get mounted with the rights of the user when automounted after logon. What do you want to achieve actually?


Hello,

Sorry to reply that late...
I have set the automounting in the KDE settings panel, "Removable devices" applet.
The system is a home server, so I don't want to log on it under KDE, I just start it and I expect it to serve me the shares. The "Removable devices" applet does it after KDE logon only.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: Samba share access

Postby doktor5000 » Sep 12th, '12, 22:12

So why do you set it up like that at all? Sounds quite confusing to me ...
Why not just put them in fstab, but pay attention to https://wiki.mageia.org/en/Mageia_2_Err ... t_in_fstab
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Samba share access

Postby msdobrescu » Sep 12th, '12, 22:17

Indeed, something like that bug hit me, though I don't have webdav.
That setup, I have, needs to be generic, because I have 4 hot swappable bays on that machine.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: Samba share access

Postby doktor5000 » Sep 12th, '12, 22:19

msdobrescu wrote:That setup, I have, needs to be generic, because I have 4 hot swappable bays on that machine.

Sorry, i don't understand what you're trying to tell here, please rephrase.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Samba share access

Postby msdobrescu » Sep 12th, '12, 22:28

If I have to mount a disk, having one partition, or to change it to another disk, also having one partition, without making the OS complaining at boot time, I need to avoid fstab. Sometimes, the disk might be missing also.
I try to make the system to mount whatever is there, and share it over Samba.
msdobrescu
 
Posts: 213
Joined: Jun 2nd, '11, 07:28

Re: Samba share access

Postby doktor5000 » Sep 12th, '12, 22:38

Understood even less now ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest