passwd NIS+ YP compat mode

From: TOMITA Yoshinori <yoshint_at_flab.fujitsu.co.jp>
Date: Tue, 27 May 2003 21:46:04 +0900
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
Received on Tue May 27 2003 - 03:46:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC