Re: quick Open Directory question
Re: quick Open Directory question
- Subject: Re: quick Open Directory question
- From: Jason Townsend <email@hidden>
- Date: Sat, 2 Oct 2004 18:54:37 -0700
From: Finlay Dobbie <email@hidden>
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?
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
-Jason
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden