Re: Does Mozilla ldap c sdk supports GSS-SPNEGO

Rich Megginson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Aakash wrote:
> Hi,
> 
> I am using mozilla c sdk version 5.2.1. At present we are successfully
> doing a ldap_sasl_bind_s with GSSAPI as a mechanism. Now we intend to
> do the negotiation using SPNEGO.
> 
> I perform a ldap_sasl_bind_s by passing GSS-SPNEGO as the mechanism.
> But when I feed the received sasl bind token to my
> gss_init_sec_context call, it returns me an error saying "Invalid
> token supplied"
> 
> It works successfully with GSSAPI as a mechanism.
> 
> I think mozilla c sdk uses Cyrus SASL internally. I was going through
> the cyrus-sasl code but didnt found anything related to SPNEGO.

Then it's not likely that the mozilla c sdk will support SPNEGO.  The 
code doesn't do anything but pass that off to the cyrus sasl code.

> 
> Can somebody confirm that whether it is doable or not ? Does mozilla c
> sdk (including the latest versions) support GSS-SPNEGO
> 
> Thanks & Regards,
> Aakash
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.