Date: Tue, 27 May 2003 21:46:04 +0900 From: TOMITA Yoshinori <yoshint@flab.fujitsu.co.jp> To: freebsd-current@freebsd.org Subject: passwd NIS+ YP compat mode Message-ID: <ywln0h8imlv.fsf@palomino.proc.flab.fujitsu.co.jp>
index | next in thread | raw e-mail
Hello all,
After cvsup-ed today 2003-5-27 and make buildworld and so on,
NIS passwd database are completely ignored.
But NIS group database seems to be used as usual.
Out NIS server is actually NIS+ in YP comaptible mode.
I traced the function getpwnam() and reached following code.
What can I do ?
==[getpwent.c]=============================================================
static int
nis_map(char *domain, enum nss_lookup_type how, char *buffer, size_t bufsize,
int *master)
...
rv = yp_order(domain, buffer, &order); <------ this returns YPERR_YPERR
if (rv == 0)
return (NS_SUCCESS);
==[yplib.c]=================================================================
int
yp_order(char *indomain, char *inmap, int *outorder)
...
/*
* NIS+ in YP compat mode doesn't support the YPPROC_ORDER
* procedure.
*/
if (r == RPC_PROCUNAVAIL) {
return(YPERR_YPERR); <------- Here
}
============================================================================
--
---
TOMITA Yoshinori
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ywln0h8imlv.fsf>
