From: Kevin Coffman Date: Sat, 8 Jul 2006 00:01:40 +0000 (+1000) Subject: Use uid/gid of -1 to indicate the export's anonuid/anongid should be used X-Git-Tag: nfs-utils-1-0-9~1 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=7194d7d6320736c14f40d31c3738d40f3119ead5;hp=7194d7d6320736c14f40d31c3738d40f3119ead5 Use uid/gid of -1 to indicate the export's anonuid/anongid should be used Kernel routine nfsd_setuser() in fs/nfsd/auth.c checks for the value -1 and defaults the credential's fsuid/fsgid to the correct anonuid/anongid values for the given export. We should be passing this value (-1) down when a name mapping cannot be found. Thanks to J. Bruce Fields for the reference. Signed-off-by: Kevin Coffman Acked-by: J. Bruce Fields ---