From: Ronnie Sahlberg Date: Fri, 31 May 2013 00:58:29 +0000 (-0700) Subject: On Windows, use 65534/65534 instead of 65535/65535 for the default uid/gid X-Git-Tag: upstream/1.9.6^2~193 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4e019b25b5c265206b9b33fef16d773ed1af2906;p=deb_libnfs.git On Windows, use 65534/65534 instead of 65535/65535 for the default uid/gid --- 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