diff options
author | neilbrown <neilbrown> | 2004-09-15 01:58:37 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2004-09-15 01:58:37 +0000 |
commit | 553caba3865667724291106d919e7c3fdf9534aa (patch) | |
tree | 3540d319d70f7fa3d5c6e05c1c2ce24e4bdc85ac /support/export/client.c | |
parent | fcb905a5392c31a4c31e7d9e616e691d61358731 (diff) | |
download | nfs-utils-553caba3865667724291106d919e7c3fdf9534aa.tar.gz nfs-utils-553caba3865667724291106d919e7c3fdf9534aa.tar.xz nfs-utils-553caba3865667724291106d919e7c3fdf9534aa.zip |
Prepare to support gss authentication and idmap looks for nfsv4
Diffstat (limited to 'support/export/client.c')
-rw-r--r-- | support/export/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); |