diff options
Diffstat (limited to 'lib/libc/rpc/rpcauth.3')
-rw-r--r-- | lib/libc/rpc/rpcauth.3 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/rpc/rpcauth.3 b/lib/libc/rpc/rpcauth.3 index cd61a25932c..a26fb2372b8 100644 --- a/lib/libc/rpc/rpcauth.3 +++ b/lib/libc/rpc/rpcauth.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rpcauth.3,v 1.11 2003/08/08 09:26:02 jmc Exp $ +.\" $OpenBSD: rpcauth.3,v 1.12 2006/11/10 17:29:31 grunk Exp $ .\" Mostly converted to mandoc by Theo de Raadt, Tue Feb 24 04:04:46 MST 1998 .\" .\" Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -47,6 +47,8 @@ .Fn authunix_create "char *host" "int uid" "int gid" "int len" "int *aup.gids" .Ft AUTH * .Fn authunix_create_default "void" +.Ft void +.Fn set_rpc_maxgrouplist "int num" .Sh DESCRIPTION These routines establish authentication information for use by the RPC functions described in @@ -93,6 +95,15 @@ It is easy to impersonate a user. calls .Fn authunix_create with the appropriate parameters. +.Pp +.Fn set_rpc_maxgrouplist +allows the application to set the maximum size of the group list that +will be used in +.Fn authunix_create_default +to +.Fa num . +Some servers will refuse mounts if the group list is larger than it +expects (like 8). .Sh SEE ALSO .\"Xr rpc_secure 3 , .Xr rpcgen 1 , |