Problems with network sharing in Linux - Windows!

I have client PC with openSUSE 12.2 with KDE desktop and Dolphin file manager and server for file sharing with Windows Server 2008 R2. Of course, the first I tried to do is to use Samba and typed into Dolphin:

smb://a.b.c.d/directory

And directory opened with all files. One of the problems is that I need to enter password in every 5 minutes after i close Dolphin. It should remember credentials before i logout. Second problems is that Linux won’t open any network files. It must be copied to local directory before it can be opened and it’s very big problem because i spend lot of time copying big files that i should only open on network location and run. People said that smb is not optimized for this use and NFS is much better for linux.

So, I installed a Role in Server 2008 called File Services and Services for Network File System in it. And after that, i shared a folder in server (Properties > NFS Sharing) and typed in Dolphin:

nfs://a.b.c.d/directory

And directory opened, but same as in smb, you cannot view or open any network files. Is this problem part of protocol or it is a security issue in Linux?

Please, if you know, help me to find out.

I searched a lot on internet but i didn’t found a solution.

On 2013-04-30, himre <himre@no-mx.forums.opensuse.org> wrote:
> I searched a lot on internet but i didn’t found a solution.

Has your search included http://www.swerdna.net.au/susesambacifs.html ?

I find the easiest way to handle Windows shares is by enabling cifs through YaST->Runlevel services, then adding the
mount point to /etc/fstab - sometimes the daemon/fstab means it doesn’t work, in which you may need to add a `mount -a’
to your /etc/init.d/after.local - I know not very elegant! Good luck!

On 04/30/2013 02:56 AM, himre wrote:
>
> I have client PC with openSUSE 12.2 with KDE desktop and Dolphin file
> manager and server for file sharing with Windows Server 2008 R2. Of
> course, the first I tried to do is to use Samba and typed into Dolphin:
>
> smb://a.b.c.d/directory
>
> And directory opened with all files. One of the problems is that I need
> to enter password in every 5 minutes after i close Dolphin. It should
> remember credentials before i logout.

This isn’t windows… with that said, if you join your OpenSUSE box to the
domain (winbindd) you should be able to access the share without having to enter
a password (e.g. just like Windows).

Second problems is that Linux
> won’t open any network files. It must be copied to local directory
> before it can be opened and it’s very big problem because i spend lot of
> time copying big files that i should only open on network location and
> run. People said that smb is not optimized for this use and NFS is much
> better for linux.

This is a pretty well known “problem”. Again, Linux isn’t Windows… not saying
that something like this can’t work, but could be difficult.

>
> So, I installed a Role in Server 2008 called File Services and Services
> for Network File System in it. And after that, i shared a folder in
> server (Properties > NFS Sharing) and typed in Dolphin:
>
> nfs://a.b.c.d/directory

Sigh… if Linux can’t be Windows-enough… I can guarantee you that Windows
can’t be Unix/Linux-enough. Bad idea IMHO…

>
> And directory opened, but same as in smb, you cannot view or open any
> network files. Is this problem part of protocol or it is a security
> issue in Linux?
>
> Please, if you know, help me to find out.
>
> I searched a lot on internet but i didn’t found a solution.

I like what somebody else said about the possibility of using cifs instead. I
know I usually use it combined with the automounter. Again, it’s not the
Windows paradigm… Windows really doesn’t have an equivalent… but since the
cifs area will be mounted, obviously you can (mostly) edit direct like what you
are wanting. The “mostly” is because there can’t be an ideal one-for-one with
regards to Linux filesystems and acls and Windows permissions. File locking can
be problematic with cifs under Linux in certain situations as well. So YMMV.

On 2013-05-02, Chris Cox <cjcox@no-mx.forums.opensuse.org> wrote:
> I like what somebody else said about the possibility of using cifs instead. I
> know I usually use it combined with the automounter.

I wonder what you mean by an automounter? Do you mean an inclusion in fstab, after.local, or using cron?