- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: NFS & then Samba
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2005 08:58 PM
12-04-2005 08:58 PM
NFS & then Samba
I set up an export on VMS towards Linux box.
I mount it there and it works OK.
Then I share this mount point on linux via Samba to win network users.
It is still work if I,m a root user.
But if I,m ordinary user, I see share but no access permisons to enter it.
Samba share has 777 on dir permisions, trough samba I give all permissons to that share to all users, but still no access.
Any idea anybody ??
thanks and regards from Slovenia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2005 09:07 PM
12-04-2005 09:07 PM
Re: NFS & then Samba
Welcome to the wonderful world of the Red Hat Samba bug.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=772038
The solution in my case Linux to Linux was to use NFS for that. HP-UX to Linux worked fine. HP-UX to HP-UX worked fine.
Only problem is Linux to Linux, though your case may show further issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2005 11:42 PM
12-04-2005 11:42 PM
Re: NFS & then Samba
I think that my problem lies in inherited permisions on mount, which is performed by root.
If root is the user for mount, ordinary Linux user does not have permissions even to see that mount point. So consequential also Samba users.
So how to mount NFS structure from anywhere to Linux box, that I can see it as ordinary linux user ?
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 01:53 AM
12-05-2005 01:53 AM
Re: NFS & then Samba
RH ES 4 Update 1 patched to Update 2.
The problem has persisted since ES 3 Update 1.
The back end server runs ES 4 Update 2 and has everything shared with both Samba and NFS.
The NFS is standard with limits on what hosts are permitted to mount.
Samba has no such restrictions.
Users exist on all systems with the same numeric user id.
It does seem to be a function of the root mounting Samba. The same share CAN be mounted by Windows or HP-UX samba/cifs client admistrative/root user with permissions preserved.
Even when permissions are okay and the folder containing the files has 777 permissions the user that owns the folder can create new files if logged directly onto the NFS/Samba server and can not when logged onto the application server with a Samba mount(done by root).
A possible solution is that each user does the mount in its .profile.
The security issue at hand is that you then have to store a samba password in a script readable form. This is a serious but not insurmountable script hazard.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 03:03 AM
12-05-2005 03:03 AM
Re: NFS & then Samba
by swiching the accessing user to nobody.
You can try turning of root squashing on the
NFS share. Or you can mount is a a non-root
user and use force user on the samba share
to access this share as that user.
Use the first option if you need to track
who created files. This will require
UIDs for you users on both systems. These
should be identical per user.
The second option is simpler to configure
and may be more secure. However, you loose
the UID tracking of the file creators.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2005 10:16 PM
12-05-2005 10:16 PM
Re: NFS & then Samba
At the end we controle user access to samba shares trough LDAP on same Linux box where I want to share NFS from VMS system.
So mounting NFS from VMS to directly win users is not possible & not allowed.
SEP unfortunatly we dont have RH but SUSE SLES9.
Now we go through second alternative with oracle, beacuse we have need for transfer some files directly from win clients to VMS/oracle server database.
Thanks again for help
regards
Ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 02:16 AM
12-06-2005 02:16 AM
Re: NFS & then Samba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 07:44 AM
01-06-2006 07:44 AM
Re: NFS & then Samba
In samba there r two types of permission..
1. user
2. share
Edit smb.conf file, and chage it to share.
This should resolve ur issue..
cheers
indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 08:07 AM
01-06-2006 08:07 AM