search for: clntudp_creat

Displaying 3 results from an estimated 3 matches for "clntudp_creat".

Did you mean: clntudp_create
2008 Apr 01
1
NFS server on FreeBSD 6, client on FreeBSD 7 ?
Hi, The NFS server is running FreeBSD 6.0, and no problems with other NFS client with FreeBSD 6. When a new client with FreeBSD 7 comes, the NFS server always says: Apr 2 03:52:01 xxxx rpc.lockd: clntudp_create: RPC: Program not registered Apr 2 03:52:01 xxxx rpc.lockd: Unable to return result to 192.168.4.248 The 192.168.4.248's OS is FreeBSD 7, and it can successfully mount the directories on NFS server. It seems something wrong with rpc.lockd ? The 'rpc.lockd' seems totally different in...
2007 Aug 02
3
NFS rquota support
...ta patches had authunix_create_default() call. Is this needed/useful? The client is now always created+destroyed for each quota lookup. I'd think it would be faster if it was created only once, but does it then break something? If the above isn't done, clnt_create() could be replaced with clntudp_create() and have the struct sockaddr_in cached. Patches welcome. :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovec...
2006 Feb 03
0
rquotad (NFS) quota plugin
...gethostbyname(host); + if (!hent) + return -1; + if (hent->h_length > (int)sizeof(rhost.sin_addr)) + return -1; + + tout.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, qr...