Autofs
Hello,
Problem: Not able to mount NIS maps from NIS server(Solaris) to Linux(Red Hat 7.3)
My Network Schema
NIS Server: SunOS 5.6
NIS Client : Mix of Sunos & HPUX & Linux machine(Red Hat Linux 7.3).
Problem: I am trying to mount NIS maps from NIS Server(auto_home & auto_xyz) mounted on Linux. I have configured Linux as NIS client and it is in working condition.
Testing of NIS Client: ypcat passwd & ypcat hosts list all the Maps from the server.
When i try to automount a directory from NIS server it works out fine.
Linux machine autofs configuration
more /etc/auto.master
/usr/dinesh file:/etc/auto.misc --timeout=120
more /etc/auto.misc
linux -ro,soft,intr mother:/export/local/sun4u
With this configuration i get the automount done for this partition. But the requirement is to mount the maps so that any updates are done at one place only and not doing manually on all the linux machines
Among Solaris & HPUX client the maps are properly propogated from NIS master but on Linux it is not happening.
I was wondering if you could provide some pointers to solve this problem.
With Regards
-Dinesh Parmar
[email protected]
maintainerQuoted 10 lines · Dinesh Parmar
Hello,
Problem: Not able to mount NIS maps from NIS server(Solaris) to Linux(Red Hat 7.3)
My Network Schema
NIS Server: SunOS 5.6
NIS Client : Mix of Sunos & HPUX & Linux machine(Red Hat Linux 7.3).
Quoted 6 lines
Problem: I am trying to mount NIS maps from NIS
Server(auto_home & auto_xyz)mounted on Linux. I have configured Linux as NIS client and it is in working condition.Testing of NIS Client: ypcat passwd & ypcat hosts list all the Maps from the server.
Can you do ypcat -k auto_home and ypcat -k auto_xyz?
Quoted 9 lines
When i try to automount a directory from NIS server it works out fine.
Linux machine autofs configuration
more
/etc/auto.master
/usr/dineshfile:/etc/auto.misc --timeout=120
Quoted 7 lines
more
/etc/auto.misclinux -ro,soft,intr mother:/export/local/sun4u
With this configuration i get the automount done for this partition. But the requirement is to mount the maps so that any updates are done at one place only and not doing manually on all the linux machines
So what have you used in your master map to attempt to mount from the NIS server?
What version of autofs?
What kernel version?
Ian
Here is the requested information
I am able to get maps using ypcat -k auto.home & ypcat auto.xyz but not by auto_home & auto_xyz(gives error as server does not have these maps).
The kernel is Linux 2.4.18-3 version & autofs is 1.4.
The only thing which i tried was to specify the maps in auto.master,
more /etc/auto.master
home auto.home -nosuid,nodev xyz auto.xyz -nosuid.nodev
Thanks
-dinesh
---------- Original Message -----------
From: [email protected]
To: Dinesh Parmar <[email protected]>
Cc: [email protected]
Sent: Thu, 15 Apr 2004 20:44:20 +0800 (WST)
Subject: Re: [autofs] Autofs
Quoted 38 lines · Dinesh Parmar
Quoted 11 lines
Hello,
Problem: Not able to mount NIS maps from NIS server(Solaris) to Linux(Red Hat 7.3)
My Network Schema
NIS Server: SunOS 5.6
NIS Client : Mix of Sunos & HPUX & Linux machine(Red Hat Linux 7.3).Quoted 6 lines
Problem: I am trying to mount NIS maps from NIS
Server(auto_home & auto_xyz)mounted on Linux. I have configured Linux as NIS client and it is in working condition.Testing of NIS Client: ypcat passwd & ypcat hosts list all the Maps from the server.
Can you do ypcat -k
auto_homeand ypcat -kauto_xyz?Quoted 9 lines
When i try to automount a directory from NIS server it works out fine.
Linux machine autofs configuration
more
/etc/auto.master
/usr/dineshfile:/etc/auto.misc --timeout=120Quoted 7 lines
more
/etc/auto.misclinux -ro,soft,intr mother:/export/local/sun4u
With this configuration i get the automount done for this partition. But the requirement is to mount the maps so that any updates are done at one place only and not doing manually on all the linux machines
Quoted 7 lines
So what have you used in your master map to attempt to mount from the NIS server?
What version of autofs?
What kernel version?Ian
------- End of Original Message -------
Ian Kent
maintainerQuoted 6 lines · Dinesh Parmar
Here is the requested information
I am able to get maps using ypcat -k auto.home & ypcat auto.xyz but not by
auto_home&auto_xyz(gives error as server does not have these maps).The kernel is Linux 2.4.18-3 version & autofs is 1.4.
You mean 4.1.0 yes.
Quoted 7 lines
The only thing which i tried was to specify the maps in auto.master,
more
/etc/auto.masterhome auto.home -nosuid,nodev xyz auto.xyz -nosuid.nodev
Where is the leading slash on these master map entries?
Ian