diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-02-24 22:10:42 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-02-24 22:10:42 +0000 |
commit | abd2ed647c0d6f695fbe6cb5effc764ffa3bf2ef (patch) | |
tree | 4db573ce826faebd1a77511c6bae7cdd5eab5e48 /usr.sbin/rpc.yppasswdd/yppasswdd_extern.h | |
parent | ad0849d8900b9f782546a46918ebe65e3c52e43b (diff) | |
download | FreeBSD-src-abd2ed647c0d6f695fbe6cb5effc764ffa3bf2ef.zip FreeBSD-src-abd2ed647c0d6f695fbe6cb5effc764ffa3bf2ef.tar.gz |
Add securenets support (uses same access control mechanism as ypserv,
also controlled by /var/yp/securenets).
Add -u flag to turn off the privileged port check done by yp_access();
some commercial systems (IRIX, Solaris 2.x, HP-UX, and probably others)
don't use a reserved port for submitting yppasswd updates. If we always
enforce the check, these client systems will be unable to submit updates
to us.
Document securenets support and -u flag in man page.
Like ypserv, you can compile rpc.yppasswdd to use the tcpwrapper package
instead of securenets if you want to.
Diffstat (limited to 'usr.sbin/rpc.yppasswdd/yppasswdd_extern.h')
-rw-r--r-- | usr.sbin/rpc.yppasswdd/yppasswdd_extern.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h index 84e7eed..6c6885d 100644 --- a/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h +++ b/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: yppasswdd_extern.h,v 1.4 1996/02/01 04:38:39 wpaul Exp $ + * $Id: yppasswdd_extern.h,v 1.5 1996/02/24 21:41:36 wpaul Exp $ */ #include <sys/types.h> @@ -65,7 +65,10 @@ extern int no_chsh; extern int no_chfn; extern int allow_additions; extern int multidomain; +extern int resvport; extern int verbose; extern int _rpc_dtablesize __P((void)); extern void yp_error __P((const char *, ...)); +extern void load_securenets __P(( void )); +extern int yp_access __P((const char *, const struct svc_req * )); extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, int)); |