search for: cl_auth

Displaying 1 result from an estimated 1 matches for "cl_auth".

2006 Feb 03
0
rquotad (NFS) quota plugin
...out.tv_sec = 6; + tout.tv_usec = 0; + + *(long *)&rhost.sin_addr = *(long *)hent->h_addr; + rhost.sin_family = AF_INET; + rhost.sin_port = 0; + + clnt = clntudp_create(&rhost, RQUOTAPROG, RQUOTAVERS, tout, &sock); + if (!clnt) + return rpc_createerr.cf_stat; + + clnt->cl_auth = authunix_create_default(); + tout.tv_sec = 25; + tout.tv_usec = 0; + cstat = clnt_call(clnt, RQUOTAPROC_GETQUOTA, xdr_getquota_args, + qargs, xdr_getquota_rslt, qres, tout); + clnt_destroy(clnt); + return cstat; + } + + static void rquotad_quota_root_error_alloc(struct rquotad_quota_ro...