Lines Matching refs:clnt
69 CLIENT *clnt = NULL; in ypclnt_havepasswdd() local
96 if ((clnt = clnt_tp_create(NULL, MASTER_YPPASSWDPROG, in ypclnt_havepasswdd()
107 if (clnt != NULL) { in ypclnt_havepasswdd()
108 clnt_destroy(clnt); in ypclnt_havepasswdd()
143 CLIENT *clnt = NULL; in yppasswd_local() local
179 if ((clnt = clnt_tp_create(NULL, MASTER_YPPASSWDPROG, in yppasswd_local()
187 clnt->cl_auth = authunix_create_default(); in yppasswd_local()
190 result = yppasswdproc_update_master_1(&yppwd, clnt); in yppasswd_local()
193 clnt_geterr(clnt, &rpcerr); in yppasswd_local()
197 clnt_sperror(clnt, ypclnt->server)); in yppasswd_local()
215 if (clnt != NULL) { in yppasswd_local()
216 auth_destroy(clnt->cl_auth); in yppasswd_local()
217 clnt_destroy(clnt); in yppasswd_local()
241 CLIENT *clnt = NULL; in yppasswd_remote() local
260 clnt = clnt_create(ypclnt->server, YPPASSWDPROG, YPPASSWDVERS, "udp"); in yppasswd_remote()
261 if (clnt == NULL) { in yppasswd_remote()
268 clnt->cl_auth = authunix_create_default(); in yppasswd_remote()
271 result = yppasswdproc_update_1(&yppwd, clnt); in yppasswd_remote()
274 clnt_geterr(clnt, &rpcerr); in yppasswd_remote()
278 clnt_sperror(clnt, ypclnt->server)); in yppasswd_remote()
296 if (clnt != NULL) { in yppasswd_remote()
297 auth_destroy(clnt->cl_auth); in yppasswd_remote()
298 clnt_destroy(clnt); in yppasswd_remote()