passwd NIS+ YP compat mode
TOMITA Yoshinori
yoshint at flab.fujitsu.co.jp
Tue May 27 05:46:08 PDT 2003
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
More information about the freebsd-current
mailing list