Skip to content

DirectoryService macOS xcode13.0 beta1

Sebastien Pouliot edited this page Jun 7, 2021 · 1 revision

#DirectoryService.framework

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesConst.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesConst.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesConst.h	2021-03-16 04:44:11.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesConst.h	2021-06-02 11:06:37.000000000 -0400
@@ -2410,8 +2410,8 @@
 #define		kDSStdAuthMASKE_B						"dsAuthMethodStandard:dsAuthMASKE-B"
 
 /*!
- * @defined kDSStdAuthMPPEMasterKeys
- * @discussion Generated 40-bit or 128-bit master keys from MS-CHAPv2 credentials (RFC 3079).
+ * @defined kDSStdAuthMPPEPrimaryKeys
+ * @discussion Generated 40-bit or 128-bit primary keys from MS-CHAPv2 credentials (RFC 3079).
  *     The buffer is packed as follows:
  *
  *     4 byte length of user name,
@@ -2421,7 +2421,13 @@
  *     4 byte length of key size (always 1)
  *     key size, 8 or 16 (packed as a byte, not a string)
  */
-#define		kDSStdAuthMPPEMasterKeys				"dsAuthMethodStandard:dsAuthMPPEMasterKeys"
+#define		kDSStdAuthMPPEPrimaryKeys				"dsAuthMethodStandard:dsAuthMPPEPrimaryKeys"
+
+/*!
+ * @defined kDSStdAuthMPPEMasterKeys
+ * @discussion Deprecated in macOS 12.0.  Use kDSStdAuthMPPEPrimaryKeys.
+ */
+#define		kDSStdAuthMPPEMasterKeys (_Pragma("GCC warning \"Use kDSStdAuthMPPEPrimaryKeys instead\"")	"dsAuthMethodStandard:dsAuthMPPEMasterKeys")
 
 /*!
  * @defined kDSStdAuthMSCHAP1
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesTypes.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesTypes.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesTypes.h	2021-03-16 04:44:11.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesTypes.h	2021-06-02 11:06:37.000000000 -0400
@@ -28,6 +28,8 @@
 #ifndef __DirServicesTypesH__
 #define	__DirServicesTypesH__	1
 
+#include <os/availability.h>
+
 // the following are already part of MacTypes.h and causes warnings for other plugins
 // need this to support Darwin compiles which do not include MacTypes.h
 
@@ -96,8 +98,8 @@
  *		automatically disabled.
  *	@constant eDSAuthAccountInactive The account was unused for a preset amount of time so
  *		it was automatically disabled.
- *	@constant eDSAuthMasterUnreachable Unable to authenticate to make changes
- *		because the master server is unreachable.
+ *	@constant eDSAuthPrimaryUnreachable Unable to authenticate to make changes
+ *		because the prmary server is unreachable.
  */
 typedef enum
 {
@@ -205,8 +207,9 @@
 	eDSAuthPasswordChangeTooSoon=	-14174,
 	eDSAuthInvalidLogonHours	= 	-14175,
 	eDSAuthInvalidComputer		= 	-14176,
-	eDSAuthMasterUnreachable	=	-14177,
-	
+	eDSAuthPrimaryUnreachable	=	-14177,
+	eDSAuthMasterUnreachable API_DEPRECATED_WITH_REPLACEMENT("eDSAuthPrimaryUnreachable", macos(10.0, 10.0)) = eDSAuthPrimaryUnreachable,
+
 	eDSNullParameter			=	-14200,
 	eDSNullDataBuff				=	-14201,
 	eDSNullNodeName				=	-14202,
@@ -322,7 +325,8 @@
 	eDSOperationFailed			=	-14483,
 	eDSNotAuthorized			=	-14484,
 	eDSNetInfoError				=	-14485,
-	eDSContactMaster			=	-14486,
+	eDSContactPrimary			=	-14486,
+	eDSContactMaster API_DEPRECATED_WITH_REPLACEMENT("eDSContactPrimary", macos(10.0, 10.0)) = eDSContactPrimary,
 	eDSServiceUnavailable		=	-14487,
 	eDSInvalidFilePath			=	-14488,
 	eDSOperationTimeout			=	-14489,
Clone this wiki locally