Re: Can't find NIS servers
- From: Darren Dunham <ddunham@xxxxxxxxxxxxxxxx>
- Date: Tue, 06 Feb 2007 07:22:11 GMT
Chris Cox <notccox@xxxxxxxxxxxxxx> wrote:
Darren Dunham wrote:
It's not a side effect. If your user database comes from NIS and you
need user information, your only choices are to wait for NIS to start or
plead ignorance.
This is a fake requirement. If ypbind fails, you should be able
to use local accounts.
You can use local accounts (depeding on the nsswitch.conf settings).
What you cannot do is know if a non-local account exists or not.
All that is needed is a smart enough
startup (init) to fail ypbind after sufficient tries. I've only
seen this "better" behavior on the Linux platforms.
How does ypbind fail? ypbind should return almost immediately. The
stall is not in starting the NIS client, but in some subsequent startup
file that makes a name lookup.
# /usr/lib/netsvc/yp/ypstart
starting NIS (YP server) services: ypbind done.
# ypwhich
ypwhich: can't communicate with ypbind
# ypwhich
Domain test not bound on sparky.
# ypwhich
Domain test not bound on sparky.
# getent passwd foo
<hang>
--
Darren Dunham ddunham@xxxxxxxx
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
.
- Follow-Ups:
- Re: Can't find NIS servers
- From: Chris Cox
- Re: Can't find NIS servers
- References:
- Can't find NIS servers
- From: Simon Gao
- Re: Can't find NIS servers
- From: Ian Collins
- Re: Can't find NIS servers
- From: Chris Cox
- Re: Can't find NIS servers
- From: Simon Gao
- Re: Can't find NIS servers
- From: Ian Collins
- Re: Can't find NIS servers
- From: Gary Mills
- Re: Can't find NIS servers
- From: Chris Cox
- Re: Can't find NIS servers
- From: Darren Dunham
- Re: Can't find NIS servers
- From: Chris Cox
- Can't find NIS servers
- Prev by Date: Re: Solaris auditing enable.
- Next by Date: Re: How to stop rexec/rsh in solaris 10
- Previous by thread: Re: Can't find NIS servers
- Next by thread: Re: Can't find NIS servers
- Index(es):
Relevant Pages
|
|