[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldap_sasl_bind vs. ldap_sasl_interactive_bind_s
- To: openldap-technical@openldap.org
- Subject: ldap_sasl_bind vs. ldap_sasl_interactive_bind_s
- From: Thilko Richter <thilko.richter@googlemail.com>
- Date: Fri, 19 Mar 2010 07:03:25 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=gRu+gUc8ZVuluu949d+e70vAdyWJHUTvnSMr4W9xm4g=; b=XPr/1UsrU6XjW7VjQvi6GGoJw+5aFnMS+VrjJNaG3jJ9HgpuOQ6W5YC9oo1OmUhd+g P+fIoGWe1PXQNf934+9BcJNVV7sM4NUwzmo+HwIFelB2souqdIKZ+zAE5KqgW+3CkaUL jHRH9eF7yITsNTR0mcyiSlksWkZbJYN44tT0w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Tb8M5ImNzpXoL9MbXG57ZWm+DHwWwIBz+4OSFoJqPxyvHYFhbF9ybIiDsyVNSBqWSn kPLYQLlzJxt43dxrdi7vIqQRUwHVHNdmQX2IVaq3DnBtSoTg90MSFVayZyRYy4DDKx4g yDiucsfeBU+7tRD5O4IENa6Kvl2ACxovYhGSY=
Hi,
I am still trying to make an sasl bind. Now I use ldap_sasl_bind_s
with 'CRAM-MD5'. The server sends a 'LDAP_SASL_BIND_IN_PROGRESS' back,
but as far as I can see the server cred are empty. How do I make the
next call with ldap_sasl_bind_s?
In the documentation I have seen that the use of ldap_sasl_bind is not
recommended as client use, instead the ldap_sasl_interactive_bind_s
should be preferred. Has anyone a working example of how to use this
method, or some api doc? I have no clue how to set 'flags' the
LDAP_SASL_INTERACT_PROC, an the 'defaults' params..
Thx,
Thilko