From 4e019b25b5c265206b9b33fef16d773ed1af2906 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 30 May 2013 17:58:29 -0700 Subject: [PATCH] On Windows, use 65534/65534 instead of 65535/65535 for the default uid/gid --- lib/libnfs-zdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libnfs-zdr.c b/lib/libnfs-zdr.c index 5d98706..5f79648 100644 --- a/lib/libnfs-zdr.c +++ b/lib/libnfs-zdr.c @@ -506,7 +506,7 @@ struct AUTH *libnfs_authunix_create(char *host, uint32_t uid, uint32_t gid, uint struct AUTH *libnfs_authunix_create_default(void) { #ifdef WIN32 - return libnfs_authunix_create("libnfs", 65535, 65535, 0, NULL); + return libnfs_authunix_create("libnfs", 65534, 65534, 0, NULL); #else return libnfs_authunix_create("libnfs", getuid(), getgid(), 0, NULL); #endif -- 2.34.1