You can get your automount maps through NIS, so you don't need to
specify your maps on each client.

To have a working auto.home you will need

auto.master to have:
/home   auto.home

auto.home to have:
username        -rw,soft,nosuid server:/path/to/users/home

auto.direct doesn't work with the autofs that's included with RedHat.
To get it to work in our environment I had to install autofs4 and rig
some scripts to fake direct mounts.

-Steve

-----Original Message-----
From: senthil@jadooworks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:31 AM
To: [EMAIL PROTECTED]
Subject: Re: NIS problem


Hi Santhosh,

I was trying out that, I have exported a folder in NFS. But dont know what
changes to make in /etc/auto.master.    I dont have auto.direct and
auto_home in my /etc/ path. Stuck here !!!  :-(

senthil


----- Original Message -----
From: "santosh kumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 8:47 PM
Subject: RE: NIS problem


> In NIS server u have to define automount maps. For example u have all
> user home directories on X m/c.
> Share that path by editing /etc/exports
> Then edit the maps at NIS server like /etc/auto.direct, /etc/auto_home &
> /etc/auto.master
> That's it while booting client it will mount user home directory
> automatically..
>
> Regds,
> santosh
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> On Behalf Of senthil@jadooworks
> Sent: Thursday, February 20, 2003 7:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: NIS problem
>
>
> Hello Martin,
>
> Thanks for the reply. I managed to fix the problem. I had not configured
> the nssswitch.conf to use NIS thats all. Martin I would like to ask you
> one more doubt which I have already asked in the list. I didnt want to
> trouble everyone with the same doubts again. Martin, now that NIS works
> I am able to login and reach till the shell. But no home directory in
> the client system. Martin I would like to know if there is any way where
> in I can run a script on the client end when I log in as a NIS user? I f
> I am able to log in then I might be able to create a home folder on the
> fly. Can you please help me ?
>
> regards
>
>
> senthil
> ----- Original Message -----
> From: "Martin Marques" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 20, 2003 7:07 PM
> Subject: Re: NIS problem
>
>
> > On Mié 19 Feb 2003 18:30, [EMAIL PROTECTED] wrote:
> > > Hi All,
> > >
> > > I was trying out NIS in my network. NIS ( ypserv) starts up and
> listening.
> > >  In the client system when I start ypbind the ypbind gets hooked
> > > onto
> the
> > > NIS server. But when I try logging in to the system using a Userid
> > > which
> I
> > > created in the NIS server I am unable to.  Am I going wrong
> > > somewhere ? please help me ...
> >
> > Hows your /etc/passwd configured on the client? Don't send it! Just
> > tell
> us if
> > you put the line to auth against the NIS server.
> >
> > --
> > Porqué usar una base de datos relacional cualquiera,
> > si podés usar PostgreSQL?
> > -----------------------------------------------------------------
> > Martín Marqués                  |        [EMAIL PROTECTED]
> > Programador, Administrador, DBA |       Centro de Telematica
> >                        Universidad Nacional
> >                             del Litoral
> > -----------------------------------------------------------------
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to