[KLUG Members] Re: Nautilus in RH 7.3 and Samba shares...revisited... -- Use
NFS for UNIX-to-UNIX
Tahnesha Pinckney
members@kalamazoolinux.org
Thu, 05 Dec 2002 14:19:05 -0500
This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=_C79B18DB.64056C34
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
>>> "Bryan J. Smith" <b.j.smith@ieee.org> 12/05/02 02:08PM >>>
Quoting Tahnesha Pinckney <tep@hanify.com>:
> Hi Everyone,
> I just have what might be an easy question (actually I have 1 1/2
> questions...)
> I was finally able to establish samba shares throughout my
> Windows/Linux network. However, when I sign in as root on the RH
7.3
> machine, (I'm using the Gnome desktop as root user, BTW), I use
> Nautilus
> to browse my samba shares. I can access all folders with no
problem,
> but when I go to open a Word document or an .mp3 file, I get a
message
> saying that the application, be it mpg123 or AbiWord "cannot open
the
> file in samba shares". At first I thought this was something I did
> again, but, decided to use Konqueror on the KDE menu, and I can open
> any files within my samba shares with no problems. Is it just
something
> in Nautilus? A config setting of some sort?
AFAIK, Gnome applications do not support directly accessing files over
the
Microsoft SMB (aka "Windows Networking") protocol.
I'm surprised KDE does though. I guess that is a home user
consideration since
I would _not_ want my users on my corporate network doing so.
>>Yeah, I'm surprised too..but until I get this Samba thing down-pact,
I guess this sort of access will have to do.
> My second half question was really already answered by someone else
on
> this board. Everytime I access a windows share from Konqueror, I
have
> to re-type my username and password. As I understand it, if I
enable
> encrypted passwords (since NT 4.0 requires it and that's what I'm
> running on my windows machines), it should solve the problem.
> However, feel free to correct me if I'm wrong..I'm just a lowly
beginner!
"Encrypted passwords" on the _Samba_server_ has _nothing_ to do with
any "SMB
client" embedded in your Linux desktop/applications. It only affects
NT-based
Windows clients to that Samba server.
So KDE re-prompts you for the password each-and-every-time by design.
I'm not a
KDE user so I don't know if there is toggle to cache the password.
FYI ... do _not_ use SMB for UNIX-to-UNIX ...
>>Now that's one mistake I haven't committed. I just wanted to setup
the samba share first since there were some files I needed to access on
my windows machines. Although, from what I hear, I probably should have
started out creating NFS shares first since it's a bit easier than
Samba. But, as usual, I always do things the hard way.
You should _not_ be accessing files from UNIX/Linux client to
UNIX/Linux servers
via the SMB protocol (e.g., Samba service on the UNIX/Linux server and
Konqueror
on the UNIX/Linux client).
You _should_ be using the Network FileSystem (NFS). NFS is _native_ to
UNIX,
meaning users can run regular UNIX commands on remote files. Both the
NFS
server and client are built right into the Linux kernel.
Basic NFS is _very_easy_ to configure -- both on the client and server,
because
it is UNIX-native. But NFS is most powerful when combined with the
"Automounter," which requires a little more care (but not too much).
To start, check out the NFS HOWTO:
http://nfs.sourceforge.net/nfs-howto
BTW, NFS and Samba quite peacefully co-exist (even for file locking).
-- Bryan
P.S. If you are using the SMB or NFS protocols, I _highly_recommend_
you be
behind a firewall. Otherwise, only Kerberos will do (and you don't
want to go
there yet, it's a bit more complex ;-).
>>I plan on doing that sometime soon, but since there is no active
internet connection except for my trusty 56K modem on my W2K box, a
firewall is not the top of my priority list. However, since you brought
it up, would you happen to know of any good ones out there, easy enough
to configure, but strong enough to block almost everything? I'm very
interested in BlackICE defender, but I'm not sure of it's comptability
issues with Linux systems.
--
Bryan J. Smith, E.I. (BSECE) Contact Info: http://thebs.org
[ http://thebs.org/files/resume/BryanJonSmith_certifications.pdf ]
------------------------------------------------------------------
The more government chooses for you, the less freedom you have.
--=_C79B18DB.64056C34
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Comic Sans MS; MARGIN-LEFT: 2px"><FONT
size=2></FONT>
<DIV><BR><BR>>>> "Bryan J. Smith" <b.j.smith@ieee.org> 12/05/02
02:08PM >>><BR><BR>Quoting Tahnesha Pinckney
<tep@hanify.com>:<BR>> Hi Everyone,<BR>> I just have what might be
an easy question (actually I have 1 1/2<BR>> questions...)<BR>> I was
finally able to establish samba shares throughout my<BR>> Windows/Linux
network. However, when I sign in as root on the RH 7.3<BR>> machine,
(I'm using the Gnome desktop as root user, BTW), I use<BR>> Nautilus<BR>>
to browse my samba shares. I can access all folders with no
problem,<BR>> but when I go to open a Word document or an .mp3 file, I get a
message<BR>> saying that the application, be it mpg123 or AbiWord "cannot
open the<BR>> file in samba shares". At first I thought this was
something I did<BR>> again, but, decided to use Konqueror on the KDE menu,
and I can open<BR>> any files within my samba shares with no problems.
Is it just something<BR>> in Nautilus? A config setting of some
sort?<BR><BR>AFAIK, Gnome applications do not support directly accessing files
over the<BR>Microsoft SMB (aka "Windows Networking") protocol.<BR><BR>I'm
surprised KDE does though. I guess that is a home user consideration
since<BR>I would _not_ want my users on my corporate network doing so.</DIV>
<DIV> </DIV>
<DIV>>>Yeah, I'm surprised too..but until I get this Samba thing
down-pact, I guess this sort of access will have to do.<BR><BR>> My second
half question was really already answered by someone else on<BR>> this
board. Everytime I access a windows share from Konqueror, I have<BR>>
to re-type my username and password. As I understand it, if I
enable<BR>> encrypted passwords (since NT 4.0 requires it and that's what
I'm<BR>> running on my windows machines), it should solve the problem.
<BR>> However, feel free to correct me if I'm wrong..I'm just a lowly
beginner!<BR><BR>"Encrypted passwords" on the _Samba_server_ has _nothing_ to do
with any "SMB<BR>client" embedded in your Linux desktop/applications. It
only affects NT-based<BR>Windows clients to that Samba server.<BR><BR>So KDE
re-prompts you for the password each-and-every-time by design. I'm not
a<BR>KDE user so I don't know if there is toggle to cache the
password.<BR><BR>FYI ... do _not_ use SMB for UNIX-to-UNIX ...</DIV>
<DIV> </DIV>
<DIV>>>Now that's one mistake I haven't committed. I just wanted to
setup the samba share first since there were some files I needed to access on my
windows machines. Although, from what I hear, I probably should have
started out creating NFS shares first since it's a bit easier than Samba.
But, as usual, I always do things the hard way.<BR><BR>You should _not_ be
accessing files from UNIX/Linux client to UNIX/Linux servers<BR>via the SMB
protocol (e.g., Samba service on the UNIX/Linux server and Konqueror<BR>on the
UNIX/Linux client).<BR><BR>You _should_ be using the Network FileSystem
(NFS). NFS is _native_ to UNIX,<BR>meaning users can run regular UNIX
commands on remote files. Both the NFS<BR>server and client are built
right into the Linux kernel.<BR><BR>Basic NFS is _very_easy_ to configure --
both on the client and server, because<BR>it is UNIX-native. But NFS is
most powerful when combined with the<BR>"Automounter," which requires a little
more care (but not too much).<BR><BR>To start, check out the NFS HOWTO:
<BR><A
href="http://nfs.sourceforge.net/nfs-howto">http://nfs.sourceforge.net/nfs-howto</A><BR><BR>BTW,
NFS and Samba quite peacefully co-exist (even for file locking).<BR><BR>--
Bryan<BR><BR>P.S. If you are using the SMB or NFS protocols, I
_highly_recommend_ you be<BR>behind a firewall. Otherwise, only Kerberos
will do (and you don't want to go<BR>there yet, it's a bit more complex
;-).<BR></DIV>
<DIV>>>I plan on doing that sometime soon, but since there is no active
internet connection except for my trusty 56K modem on my W2K box, a firewall is
not the top of my priority list. However, since you brought it up, would
you happen to know of any good ones out there, easy enough to configure, but
strong enough to block almost everything? I'm very interested in BlackICE
defender, but I'm not sure of it's comptability issues with Linux systems.<BR>--
<BR>Bryan J. Smith, E.I. (BSECE) Contact
Info: <A href="http://thebs.org/">http://thebs.org</A><BR>[ <A
href="http://thebs.org/files/resume/BryanJonSmith_certifications.pdf">http://thebs.org/files/resume/BryanJonSmith_certifications.pdf</A>
]<BR>------------------------------------------------------------------<BR>
The more government chooses for you, the less freedom you
have.<BR><BR></DIV></BODY></HTML>
--=_C79B18DB.64056C34--