aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.yppasswdd
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-03-16 01:23:09 +0000
committerBrian Somers <brian@FreeBSD.org>1999-03-16 01:23:09 +0000
commit7cf0cfed6ef7c47e81deb6524da7650fdbaed4d3 (patch)
tree9e24bca6134385b00186b3959cea33bb7963f7d7 /usr.sbin/rpc.yppasswdd
parentc30965b3bd56d7016c411d9abfe43fae4e55d2f9 (diff)
downloadsrc-7cf0cfed6ef7c47e81deb6524da7650fdbaed4d3.tar.gz
src-7cf0cfed6ef7c47e81deb6524da7650fdbaed4d3.zip
Host names are case-insensitive.
Notes
Notes: svn path=/head/; revision=44791
Diffstat (limited to 'usr.sbin/rpc.yppasswdd')
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
index f1a65abae681..307abfd3c48d 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
@@ -32,7 +32,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: yppasswdd_main.c,v 1.12 1997/10/13 11:18:50 charnier Exp $";
#endif /* not lint */
#include "yppasswd.h"
@@ -236,7 +236,7 @@ name isn't set -- aborting");
exit(1);
}
- if (strncmp(mastername, (char *)&myname, sizeof(myname))) {
+ if (strncasecmp(mastername, (char *)&myname, sizeof(myname))) {
yp_error("master of %s is %s, but we are %s",
"passwd.byname", mastername, myname);
yp_error("this host is not the NIS master server for \