X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fexport%2Fclient.c;h=3884795c0f58e12147ec443947753ad620c9961c;hp=3db21ae2840419bdfc50bdaa816db55cd4615adc;hb=553caba3865667724291106d919e7c3fdf9534aa;hpb=fcb905a5392c31a4c31e7d9e616e691d61358731 diff --git a/support/export/client.c b/support/export/client.c index 3db21ae..3884795 100644 --- a/support/export/client.c +++ b/support/export/client.c @@ -392,6 +392,8 @@ client_check(nfs_client *clp, struct hostent *hp) #endif case MCL_ANONYMOUS: return 1; + case MCL_GSS: + return 0; default: xlog(L_FATAL, "internal: bad client type %d", clp->m_type); } @@ -425,6 +427,8 @@ client_gettype(char *ident) if (ident[0] == '\0' || strcmp(ident, "*")==0) return MCL_ANONYMOUS; + if (strncmp(ident, "gss/", 4) == 0) + return MCL_GSS; if (ident[0] == '@') { #ifndef HAVE_INNETGR xlog(L_WARNING, "netgroup support not compiled in");