[PATCH] make it possible for yp_mkdb to send YPPROC_CLEAR to arbitrary host

Niclas Zeising zeising at daemonic.se
Thu Aug 30 15:47:01 UTC 2012


I have a patch that makes it possible to send an YPPROC_CLEAR to any 
host, not just localhost.  YPPROC_CLEAR is basically used to flush NIS 
connections, so that clients pick up changes done in the NIS maps right 
away.  Currently yp_mkdb can send this to localhost, but if the 
NIS-server is in a jail, there is no localhost.  This way YPPROC_CLEAR 
can be sent to the NIS server in jails as well.
The patch is attached and also in bin/169911 [1]
Regards
-- 
Niclas Zeising

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/169911
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usr.sbin.yp_mkdb.c.diff
Type: text/x-patch
Size: 2393 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120830/95b42211/usr.sbin.yp_mkdb.c.bin


More information about the freebsd-current mailing list