aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/winlean.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/winlean.h')
-rw-r--r--winsup/cygwin/winlean.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h
index 3d79a92..1332cb7 100644
--- a/winsup/cygwin/winlean.h
+++ b/winsup/cygwin/winlean.h
@@ -77,7 +77,7 @@ details. */
/* So-called "Microsoft Account" SIDs (S-1-11-...) have a netbios domain name
"MicrosoftAccounts". The new "Application Container SIDs" (S-1-15-...)
have a netbios domain name "APPLICATION PACKAGE AUTHORITY"
-
+
The problem is, DNLEN is 15, but these domain names have a length of 16
resp. 29 chars :-P So we override DNLEN here to be 31, so that calls
to LookupAccountSid/Name don't fail if the buffer is based on DNLEN.