Skip to content

DirectoryService macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#DirectoryService.framework

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