Re: Trying to automount /home with info from NIS
On Thu, Jun 28, 2001 at 03:20:30PM +0200, Nico De Ranter wrote:
> Hi,
>
> I have a SUN based network. All user info (passwd, homedir)
> is distributed through NIS. I want to integrate a Linux box
> in my network allowing all my users to logon to it and
> get their homedirectory mounted automaticaly. I'm trying to
> use autofs to do this. I created
>
> bison:/# more /etc/auto.master
> /home +auto_home
Found it: should have been:
/home auto_home
the /etc/init.d/autofs script decides whether this is a NIS map
when it can't find a file with that name (dangerous way of doing this
I would say!)
Nico
>
> NIS contains a map called auto_home:
>
> bison:/# ypcat -k auto_home
> nico immortelle:/usr/people/nico
> ...
>
> However when I try to access /home/nico I get
>
> bison:/# cd /home/nico
> bash: cd: /home/nico: No such file or directory
>
> In /var/log/daemon.log I find:
>
> Jun 28 15:14:59 bison automount[7890]: attempting to mount entry /home/nico
> Jun 28 15:14:59 bison automount[8733]: lookup(yp): looking up nico
> Jun 28 15:14:59 bison automount[8733]: lookup(yp): lookup for nico failed: No such map in server's domain
>
>
> It looks like automount is trying to use the map 'nico' in stead
> of looking up 'nico' in the map 'auto_home' ?
>
> Any ideas how I can get this to work?
>
> I'm using autofs 3.1.7-1 on Debian 'testing'.
>
> Is there any other automounter software (besides amd which doesn't seem
> to understand the SUN automounter map)
>
> Thanks in advance,
>
> Nico
>
>
>
> ---------------------------------------------------------
> "It has been said that there are only two businesses that
> refer to customers as users: illegal drug trade and
> the computer industry."
> ---------------------------------------------------------
> Nico De Ranter
> Sony Service Center (SDCE/NEE-B)
> Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
> 1130 Brussel (Bruxelles), Belgium, Europe, Earth
> Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
> e-mail: nico.deranter@sonycom.com
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
---------------------------------------------------------
"It has been said that there are only two businesses that
refer to customers as users: illegal drug trade and
the computer industry."
---------------------------------------------------------
Nico De Ranter
Sony Service Center (SDCE/NEE-B)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: nico.deranter@sonycom.com
Reply to: