increase maximum number of network drives

Currently unmounting an NFS share fails if another user has the explorer
open in the same share. This leads to orphaned network drives that
cannot be removed (only be rebooting). When this happened 26 times (i.e.
users logged on and off 26 times), mounting NFS shares does not work
anymore (system error 1794). This workaround makes it work longer and
allows for "fixing" the problem by rebooting the machine periodically.
This commit is contained in:
Christian Ulrich 2021-04-09 10:43:00 +02:00
parent edcf7feb85
commit 9cf90bb5b6

View file

@ -24,7 +24,7 @@
#define NFS41NP_MUTEX_NAME "NFS41NPMUTEX"
#define NFS41NP_MAX_DEVICES 26
#define NFS41NP_MAX_DEVICES 1000
typedef struct __NFS41NP_NETRESOURCE {
BOOL InUse;