LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2004, 05:01 AM   #1
pao
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
autofs group problem linux-solaris


I had a network with Solaris machines. These Solaris machines, automount other machines in /net with auto.master and auto.misc.

These machines are inside a NIS group called mygroup.

Recently I installed some linux (redhat9) machines. I installed autofs 4.1.3 and i tryed to automount the Solaris boxes with the script auto.net.

It seemed to run ok, but i can only access to the exported directories that have the permissions of rw for all. In my Solaris workstations, the export permissions are set to @mygroup(rw) and from linux i cant access. If i set the permissions to (rw) I can access to the machine.

How can I connect to Solaris exported directories without switching off the group restriction?

Tx in advance.

p




PD: if i run mount from shell, i can mount exported directories whith permisions set to @mygroup(rw). Maybe is something wrong in the script auto.net or something to upgrade.


-------------------- this is the auto.net maybe it helps-----------------------------


root>>more /etc/auto.net
#!/bin/sh

# $Id: auto.net,v 1.5 2003/09/29 08:22:35 raven Exp $

# Look at what a host is exporting to determine what we can mount.
# This is very simple, but it appears to work surprisingly well

key="$1"

# add "nosymlink" here if you want to suppress symlinking local filesystems
# add "nonstrict" to make it OK for some filesystems to not mount
opts="-fstype=nfs,hard,intr,nodev,nosuid"

# Showmount comes in a number of names and varieties. "showmount" is
# typically an older version which accepts the '--no-headers' flag
# but ignores it. "kshowmount" is the newer version installed with knfsd,
# which both accepts and acts on the '--no-headers' flag.
#SHOWMOUNT="kshowmount --no-headers -e $key"
#SHOWMOUNT="showmount -e $key | tail +2"

# Newer distributions get this right
SHOWMOUNT="/usr/sbin/showmount --no-headers -e $key"

$SHOWMOUNT | sort +0 | \
awk -v key="$key" -v opts="$opts" -- '
BEGIN { ORS=""; first=1 }
{ if (first) { print opts; first=0 }; print " \\\n\t" $1, key ":" $1 }
END { if (!first) print "\n"; else exit 1 }
'
 
Old 10-22-2004, 06:48 AM   #2
pao
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
I investigate further.

From linux client auto.net mounts this

mount exported dirs @group from nis server

buy cant mount exported dirs @group from other solaris workstations.

(I remember that with mount command i can mount that @group directories in all solaris )

So it seems that workstations that are not the nis server cant share. Maybe is a config file wrong. Anyone can suggest something?

Tx for your time

Best Regards,
Pao
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Supermount / Autofs problem. RoaCh Of DisCor Slackware 7 05-13-2005 11:11 PM
autofs problem with hierarchical david1274 Linux - Enterprise 1 05-29-2004 12:33 PM
telnet problem- solaris to linux jns_306 Linux - Networking 3 03-09-2004 04:47 AM
autofs from Solaris to RedHat ralic Linux - Software 0 06-20-2003 12:11 PM
Solaris serving NIS, NFS, autofs to RH7.3 joeljensen Linux - Networking 1 07-12-2002 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration