Unix Technical Forum

automountd ignores nsswitch?

This is a discussion on automountd ignores nsswitch? within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I'm trying to setup a very simple automount, and I believe I have the configuration correct. I just have ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-09-2008, 11:50 AM
Frank Cusack
 
Posts: n/a
Default automountd ignores nsswitch?

I'm trying to setup a very simple automount, and I believe I have the
configuration correct. I just have

* host:/export/home/&

in /etc/auto_home. The problem is that when trying to contact 'host',
automountd is using dns instead of the entry in the hosts file, and
so it's not working. I have 'hosts: files dns' in /etc/nsswitch.conf
and it works correctly otherwise (e.g. 'ping' goes to the right place).
I've verified that it contacts the wrong address, via 'snoop'.

Is there some configuration I'm missing, or is this a bug?

-frank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-09-2008, 11:51 AM
Michael Tosch
 
Posts: n/a
Default Re: automountd ignores nsswitch?

Frank Cusack wrote:
> I'm trying to setup a very simple automount, and I believe I have the
> configuration correct. I just have
>
> * host:/export/home/&
>
> in /etc/auto_home. The problem is that when trying to contact 'host',
> automountd is using dns instead of the entry in the hosts file, and
> so it's not working. I have 'hosts: files dns' in /etc/nsswitch.conf
> and it works correctly otherwise (e.g. 'ping' goes to the right place).
> I've verified that it contacts the wrong address, via 'snoop'.
>
> Is there some configuration I'm missing, or is this a bug?
>


No such bug is known.
automounter goes where

getent hosts host

goes.

The many ways of possible automount configuration
are sometimes confusing.

Also ensure that /etc/nsswitch.conf has
automount: files ...

Furhter ensure the auto_master (or auto.master) has
/home auto_home


--
Michael Tosch @ hp : com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-09-2008, 11:51 AM
Frank Cusack
 
Posts: n/a
Default Re: automountd ignores nsswitch?

On Sat, 04 Mar 2006 17:35:06 +0100 Michael Tosch <eedmit@NO.eed.SPAM.ericsson.PLS.se> wrote:
> Frank Cusack wrote:
>> I'm trying to setup a very simple automount, and I believe I have the
>> configuration correct. I just have
>> * host:/export/home/&
>> in /etc/auto_home. The problem is that when trying to contact
>> host',
>> automountd is using dns instead of the entry in the hosts file, and
>> so it's not working. I have 'hosts: files dns' in /etc/nsswitch.conf
>> and it works correctly otherwise (e.g. 'ping' goes to the right place).
>> I've verified that it contacts the wrong address, via 'snoop'.
>> Is there some configuration I'm missing, or is this a bug?
>>

>
> No such bug is known.
> automounter goes where
>
> getent hosts host
>
> goes.


Definitely not happening on my system. getent goes to files (per
nsswitch.conf), automount goes to dns.

> The many ways of possible automount configuration
> are sometimes confusing.
>
> Also ensure that /etc/nsswitch.conf has
> automount: files ...
>
> Furhter ensure the auto_master (or auto.master) has
> /home auto_home


yup, got both of those.
-frank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:57 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com