Sync the code with OpenBSD.
Remove 3rd BSD clause.
Details
Test to set another NIS server:
araujo@coxinha:/usr/src/usr.sbin/ypset# ypset -d freebsd 10.0.1.14
ypset: Cannot ypset for domain freebsd on host 10.0.1.14: RPC: Program unavailable - make sure ypbind was started with -ypset or -ypsetme
araujo@coxinha:/usr/src/usr.sbin/ypset# ypset -d freebsd 10.0.1.14
araujo@coxinha:/usr/src/usr.sbin/ypset# ypwhich -x
"passwd" is an alias for "passwd.byname"
"master.passwd" is an alias for "master.passwd.byname"
"shadow" is an alias for "shadow.byname"
"group" is an alias for "group.byname"
"networks" is an alias for "networks.byaddr"
"hosts" is an alias for "hosts.byaddr"
"protocols" is an alias for "protocols.bynumber"
"services" is an alias for "services.byname"
"aliases" is an alias for "mail.aliases"
"ethers" is an alias for "ethers.byname"
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage
Event Timeline
| usr.sbin/ypset/ypset.c | ||
|---|---|---|
| 116 | Why do you need these ? The extern declarations for the getopt(3) vars are provided by unistd.h. | |
| usr.sbin/ypset/ypset.8 | ||
|---|---|---|
| 77 | This could be a little more clear that the change is actually being applied to a remote system "Change the YP binding of | |
| usr.sbin/ypset/ypset.c | ||
| 71 | Is there a reason to change this away from bzero? | |
| 98 | The whitespace looks off here | |
| 127 | style(9) requires a space here. Just undo the whitespace change | |
| usr.sbin/ypset/ypset.8 | ||
|---|---|---|
| 77 | Sorry, it is ypset and not ypchange, doesn't make any sense change it by your suggestion. | |