When we try to compile our DirectoryService plug-in on 10.6, we get the following warnings on some DirectorySerivce API calls:
<Routine>.c:264: warning: 'dsOpenDirService' is deprecated (declared at
/System/Library/Frameworks/DirectoryService.framework/Headers/DirServices.h:56)
<Routine>.c:275: warning: 'dsBuildListFromStringsAlloc' is deprecated
(declared at
/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesUtils.h:193)
It seems to be 'dsOpenDirService' is the FIRST API to call before you can perform any DirectoryService related APIs! Why does Apple deprecated this? Does anybody out know see this? If yes, do you know if there is a replacement API for these 2 deprecated functions?
Thanks for the help.
PSK
<Routine>.c:264: warning: 'dsOpenDirService' is deprecated (declared at
/System/Library/Frameworks/DirectoryService.framework/Headers/DirServices.h:56)
<Routine>.c:275: warning: 'dsBuildListFromStringsAlloc' is deprecated
(declared at
/System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesUtils.h:193)
It seems to be 'dsOpenDirService' is the FIRST API to call before you can perform any DirectoryService related APIs! Why does Apple deprecated this? Does anybody out know see this? If yes, do you know if there is a replacement API for these 2 deprecated functions?
Thanks for the help.
PSK