Re: quick Open Directory question
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com From: Finlay Dobbie <finlay@dobbie.net> For dsOpenDirProxy, you're supposed to provide a tDataNode and two tDataBuffers for authentication purposes. How are you meant to allocate those without a dir ref? Or am I going to have to create a throw away local dir reference to allocate those structures, open the remote directory proxy, then close the local dir reference? -Jason _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... If you look at the sources to the DirectoryService framework, you'll notice that the dir ref is ignored for the various allocation functions. So you can simply pass in zero for that when calling dsDataBufferAllocate() for example. http://www.opensource.apple.com/darwinsource/10.3.5/ DirectoryService-257.1/APIFramework/DirServicesUtils.cpp This email sent to site_archiver@lists.apple.com
participants (1)
-
Jason Townsend