version 1.3, 1996/08/30 13:09:41 |
version 1.4, 1996/08/31 01:55:33 |
|
|
xdr_yppasswd, &yppasswd, xdr_int, &status, tv); |
xdr_yppasswd, &yppasswd, xdr_int, &status, tv); |
if (r) { |
if (r) { |
fprintf(stderr, "%s: rpc to yppasswdd failed. %d\n", progname, r); |
fprintf(stderr, "%s: rpc to yppasswdd failed. %d\n", progname, r); |
|
clnt_destroy(client); |
return(0); |
return(0); |
} else if (status) { |
} else if (status) { |
printf("Couldn't change YP password information.\n"); |
printf("Couldn't change YP password information.\n"); |
|
clnt_destroy(client); |
return(0); |
return(0); |
} |
} |
printf("The YP password information has been changed on %s, the master YP passwd server.\n", master); |
printf("The YP password information has been changed on %s, the master YP passwd server.\n", master); |
|
|
|
clnt_destroy(client); |
return(1); |
return(1); |
} |
} |
|
|