X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmountd%2Fcache.c;h=0296f4efd19f187ea20bcfcf1d785e8a05f29bc3;hp=c57d3b0a326a16adf01c4ee9b083f01df470fab3;hb=e6b281c7a032ccb2a0f71ef983e50bf80b261dc1;hpb=e56040cff413b83957f87d170cb1dd2b6b61b0bf diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index c57d3b0..0296f4e 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -381,6 +381,12 @@ void cache_export(nfs_export *exp) { FILE *f; + if (exp->m_export.e_maptype != CLE_MAP_IDENT) { + xlog(L_ERROR, "%s: unsupported mapping; kernel supports only 'identity' (default)", + exp->m_export.m_path); + return; + } + f = fopen("/proc/net/rpc/auth.unix.ip/channel", "w"); if (!f) return;