AW: Question on NFS mounted Shares
Rudolf Kollien
Rudolf.Kollien at medas.de
Fri Dec 4 16:09:43 GMT 1998
Hi James,
we use some NFS mounted shares on our Linux-SCO-network. Samba runs on the
linux box. The linux server mounts some NFS shares from the SCO server. The
access error should not be a samba failure. Make sure that the directory
above the mountpoint is accessable for user nobody (chmod o+x , if you
upgrade to samba > 1.9.18p7 make sure that there is read permission on the
directories too: o+rx). Then make the mountpoint(s) themself accessable for
the user(s) or/and group(s) which want to access the NFS shares. There are
two ways to do this:
1) modify your export file to allow the apropriate users/groups accessing
the share (consult your man pages for the exact format of your fstab). I
don't know, if the (numeric) uid/gid on both machines must be equal.
2) create on both machines (NFS server and client) users with equal (names)
and userids and make the mountpoint (client) and the served directory
(server) accessable for this user. Or use one user/group and set the "force
user"/"force group" in smb.conf to this user.
I intend you to upgrade to samba-1.9.18p10 and using SECURITY=USER and
encrypted passwords. It functions great. You only have to create the
smbpasswd file as an additional step. Starting with this NT wont ask you to
type your password every time you connect the first to a share.
Rudolf Kollien
email: Rudolf.Kollien at medas.de
Rudolf.Kollien at kollien.de
***************************************************************************
Never trust a operating system you have no sources for
***************************************************************************
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
***************************************************************************
For the NSA only: bomb drug shit terror islam attack
> -----Ursprüngliche Nachricht-----
> Von: samba at samba.org [mailto:samba at samba.org]Im Auftrag von James
> Strauch
> Gesendet am: Freitag, 4. Dezember 1998 00:36
> An: Multiple recipients of list
> Betreff: Question on NFS mounted Shares
>
> --=====================_3758033==_.ALT
> Content-Type: text/plain; charset="us-ascii"
>
>
> Hello Sambites....
>
> I have a question. Has anyone been able to successfully create a Samba
> Share on
> an NFS mounted filesystem. I am running Samba-1.9.18p7 on a
> Solaris 2.6 box.
> The file system that is shared is now a NFS mounted file system
> from another
> Solaris 2.5.1 box. But I am getting errors when trying to access
> it from my NT
> worksataion (nt4sp3 with PlainText Reg Edit).
>
> \\svlbkupsvr\what is Not Accessable. The network name cannot be found.
>
>
> Snipped from smb.conf
>
> # Samba Standard Configuration File
> # Jamey Strauch 5.27.98
> #
> #
> #
> #
> [global]
> ; security = user
> ; security = share
> password level = 2
> server string = BEA Samba Server
> workgroup = BEACORP
> guest account = samba
> ;encrypt passwords = no
> homedir map = auto_home
> guest ok = yes
> os level = 32
> browseable = yes
> config file = /usr/local/samba/smb.conf
> status = yes
> log level = 1
> log file = /usr/local/samba/log.smb
> [what]
> path = /export/backup1/%u
> ; this is the nfs mounted file system from another Solaris server
> ; Unix level access to NFS mount works fine.
> browseable = yes
> guest ok = no
> public = yes
> read only = no
> writeable = yes
> write ok = yes
> create mask = 0755
>
> Any ideas?
>
> Thanks in advance.
>
>
> James Strauch
> ------------------------------------------------------------------
> ----------
> ---
>
> James Strauch
> Senior Systems Administrator
> BEA Systems Inc.
> 385 Moffett Park Drive
> Sunnyvale, CA 94089
> ------------------------------------------------------------------
> ----------
> ---
>
> --=====================_3758033==_.ALT
> Content-Type: text/html; charset="us-ascii"
>
> <html><div>Hello Sambites....</div>
> <br>
> <div>I have a question. Has anyone been able to successfully create a
> Samba Share on an NFS mounted filesystem. I am running Samba-1.9.18p7 on
> a Solaris 2.6 box. The file system that is shared is now a NFS mounted
> file system from another Solaris 2.5.1 box. But I am getting errors when
> trying to access it from my NT worksataion (nt4sp3 with PlainText Reg
> Edit). </div>
> <br>
> <div>\\svlbkupsvr\what is Not Accessable. The network name cannot be
> found.</div>
> <br>
> <br>
> <div>Snipped from smb.conf</div>
> <br>
> <div># Samba Standard Configuration File</div>
> <div># Jamey Strauch 5.27.98</div>
> <div>#</div>
> <div>#</div>
> <div>#</div>
> <div>#</div>
> <div>[global]</div>
> <div>; security = user</div>
> <div>; security = share</div>
> <div> password level =
> 2</div>
> <div> server string = BEA Samba
> Server</div>
> <div> workgroup =
> BEACORP</div>
> <div> guest account =
> samba</div>
> <div> ;encrypt passwords =
> no</div>
> <div> homedir map =
> auto_home</div>
> <div> guest ok = yes</div>
> <div> os level = 32</div>
> <div> browseable = yes</div>
> <div> config file =
> /usr/local/samba/smb.conf</div>
> <div> status = yes</div>
> <div> log level = 1</div>
> <div> log file =
> /usr/local/samba/log.smb </div>
> <div>[what]</div>
> <div> path =
> /export/backup1/%u</div>
> <div>; this is the nfs mounted file system from another Solaris
> server</div>
> <div>; Unix level access to NFS mount works fine.</div>
> <div> browseable = yes</div>
> <div> guest ok = no</div>
> <div> public = yes</div>
> <div> read only = no</div>
> <div> writeable = yes</div>
> <div> write ok = yes</div>
> <div> create mask =
> 0755 &n
> bsp;
> </div>
> <br>
> <div>Any ideas?</div>
> <br>
> <div>Thanks in advance.</div>
> <br>
> <br>
> James Strauch
> <br>
> <x-html><center>--------------------------------------------------
> -----------------------------
> <BR>
> James Strauch <BR>
> Senior Systems Administrator <BR>
> BEA Systems Inc. <BR>
> 385 Moffett Park Drive <BR>
> Sunnyvale, CA 94089 <BR>
> </center><center>-------------------------------------------------
> ------------------------------</center></x-html>
>
> --=====================_3758033==_.ALT--
>
More information about the samba
mailing list