Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 12:59:47 +0200
From:      Florian Bofinger <bofax@camelot.de>
To:        freebsd-questions@camelot.de, freebsd-isp@camelot.de
Subject:   NIS/YP getpwnam timeout in 3.5-RELEASE?
Message-ID:  <20001013125947.C15981@camelot.de>

next in thread | raw e-mail | index | archive | help
Hi,

since a few days, our NIS shows strange behaviour.

When calling getpwnam on a NIS client for a  valid, existing, plussed loginname
(+user:::::::::), getpwnam->pw_passwd sometimes returns the crypted password
(which is the right behaviour) but sometimes returns '*'. Is it possible, that
the ypmatch-call in getpwent.c does a timeout?

Does

	if (_yp_enabled == -1)
		_ypinitdb();
	if (_yp_enabled)
		rval = _getyppass(&_pw_passwd, name, "passwd.byname"); 

show, that if _ypinitdb() does not work, YP is not used at all?

How can it be, that getpwnam->pw_passwd returns "*" instead of
getpwnam beeing NULL?

Anyone any suggestions?

Greetings,
		Florian

-- 
Florian Bofinger <bofax@camelot.de> - CameloT e.K.
www.camelot.de - Der "sagenhafte" Internet Full-Service Provider 
'Can't buy what I want because it's free' - Pearl Jam (FreeBSD rocks)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001013125947.C15981>