[comp.protocols.nfs] YP sample code

edgar@pangea.Stanford.EDU (Edgar Nielsen) (03/15/91)

Yo,
	I was wondering if any one can point me to source that shows how to
work with YP.  I would like to find out how something like yypasswd works,
where a program can update the YP information w/o someone having to 
remake the maps by hand.  The various man pages on yp*() calls seem
to only deal with searching and updating, not adding entirely new entries.
	I guess the source database would also have to be updated too
so the next manual YP make would have the information in it.
Is there anyway to lock the YP map so no one else is updating at the same
time?  Or does one have to use their own locking scheme?

Send mail to me and I'll summarize.....

Thanks,
edgar