WIN32 fixes
[deb_libnfs.git] / lib / libnfs-zdr.c
index 29bb18daa280639c719da46b47f5a07288962308..e904df9bf356fc28584de07808bc35cc17b15d7f 100644 (file)
@@ -504,7 +504,11 @@ 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);
+#else
        return libnfs_authunix_create("libnfs", getuid(), getgid(), 0, NULL);
+#endif
 }
 
 void libnfs_auth_destroy(struct AUTH *auth)