]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Close PR #10264. Don't bail directly out of passwd/chpass in my_yp_match().
authorBill Paul <wpaul@FreeBSD.org>
Mon, 1 Mar 1999 16:11:13 +0000 (16:11 +0000)
committerBill Paul <wpaul@FreeBSD.org>
Mon, 1 Mar 1999 16:11:13 +0000 (16:11 +0000)
commitf8821e4aa390b43dfa8f5e2a70b47d166154245e
treee6f790a1df81143731ce65ab601357fc029357fd
parent536d5b3331a855da2d38ed4a2773f71d208285ac
Close PR #10264. Don't bail directly out of passwd/chpass in my_yp_match().
Instead, treat the inability to retrieve a record from the server as a
match failure and let things take its course.

Part of the problem here is that NIS _is_ turned on, however the master
server is actually not an NIS server: it's an NIS+ server. And the client
is bound to an NIS+ replica server that's running in YP compat mode.
The code which tries to figure out of the user is local or NIS gets
confused by this.
usr.bin/chpass/pw_yp.c