Networking Forums

Networking Forums > Computer Networking > Linux Networking > Nis Map and linux

Reply
Thread Tools Display Modes

Nis Map and linux

 
 
Vincent Aaron
Guest
Posts: n/a

 
      10-17-2003, 03:15 PM
Hi all
I'm facing on an issue. So I need your help.
I have a NIS server on Sun Solaris. I currently using direct and indirect
NIS map.
for example: On my NIS server ( Solaris Operating System)
- on /etc/nis/auto_master file
/home auto_home -rw,intr,nosuid
/- auto_direct

- on /etc/nis/auto_home
* nfsserver:/export/home/&


- on /etc/nis/auto_direct
/usr/local -rw,soft,bg nfsserver:/usr/local/


On a Sun NIS client, I always add in /etc/auto_master the line +auto_master.
And modify the /etc/nsswitch.conf, to take care of NIS automount.

But, I'm not able to automount indirect file system from NIS map on a RedHat
Operating System.
for example: on the /etc/auto.master file
/home yp:auto.home
/- auto.direct this line doesn't work on Linux


Can you please help me?
Cheers


 
Reply With Quote
 
 
 
 
Michael
Guest
Posts: n/a

 
      10-17-2003, 08:06 PM
Vincent Aaron wrote:
> But, I'm not able to automount indirect file system from NIS map on a RedHat
> Operating System.
> for example: on the /etc/auto.master file
> /home yp:auto.home
> /- auto.direct this line doesn't work on Linux
>


A couple of things, do you have an /etc/yp.conf file? If so, does it
contain your ypservers?

2) Do you have domainname set? What about ypdomainname?

3) I found, through experimentation, that /etc/auto.master should be in
this form. This might not exactly answer your question, but was how I
integrated a linux box into a Solaris auto.home NIS installation:

/home yp auto.home --timeout 60

 
Reply With Quote
 
Andrei Ivanov
Guest
Posts: n/a

 
      10-20-2003, 11:25 PM
Vincent Aaron <(E-Mail Removed)> wrote:
>
> But, I'm not able to automount indirect file system from NIS map on a RedHat
> Operating System.
> for example: on the /etc/auto.master file
> /home yp:auto.home
> /- auto.direct this line doesn't work on Linux


As Michael wrote, you're using incorrect syntax for _indirect_
map. And as I can recall, direct maps are not supported by autofs
(at least they weren't supported three years ago). You might
try to use am-utils instead.

Check this page: http://geocities.com/ivanov_andrei/nis/

--
andrei
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If I replace my existing Linksys box with Linux Router, how can I know what kind of Routing to be enabled on my Linux Box? santa19992000@yahoo.com Linux Networking 3 01-06-2005 01:18 PM
Another great example of the Linux community in action: NOT! (Was: Linux networking is a ball of confusion) Kevin Pederson Linux Networking 15 10-01-2004 07:13 PM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] -new ! TEL Linux Networking 0 12-01-2003 12:06 PM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] - new ! TEL Linux Networking 0 11-29-2003 11:27 AM



1 2 3 4 5 6 7 8 9 10 11