sasl_get/setprop() propnum assignments

Alexey Melnikov alexey.melnikov at isode.com
Mon Dec 12 18:42:59 EST 2005


Nicolas Williams wrote:

>On Wed, Dec 07, 2005 at 08:49:19AM -0600, Nicolas Williams wrote:
>  
>
>>On Wed, Dec 07, 2005 at 12:56:46PM +0000, Alexey Melnikov wrote:
>>    
>>
>>>Nicolas Williams wrote:
>>>
>>>      
>>>
>>>>Hi, I need one, maybe two sasl_get/setprop() propnums.  What is the
>>>>assignment policy for these?
>>>>
>>>>
>>>>        
>>>>
>>>I guess "first come, first serve".
>>>Grab the latest sasl.h from CMU CVS and check if there is a needed 
>>>property there. If there is none, send me names of properties and I can 
>>>assign an unused value.
>>>      
>>>
>>Excellent, thanks.  I will do this later today.
>>    
>>
>
>Or later :)
>
>So, I'd like to allocate:
>
>/*
> * GSS-API credential handle for sasl_client_step() or sasl_server_step().
> * The application is responsible for releasing this credential handle.
> */
>#define		SASL_GSS_CREDS		18
>
>This goes along with SASL_DELEGATEDCREDS.
>  
>
Ok, I will deal with this on Friday (or later :-)).

>BTW, the description of SASL_DELEGATEDCREDS should say who is
>responsible for releasing the credentials (probably the plug-in, when
>the sasl_conn_t is disposed of).
>  
>
By default all properties are "controlled" by the authentication plugin.



More information about the Cyrus-sasl mailing list