Hello,

I try to bind to LDAP server using GSSAPI.
I try to use ldap_gssapi_bind_s method (gssapi.c):

int
ldap_gssapi_bind_s(
LDAP *ld,
LDAP_CONST char *dn,
LDAP_CONST char *creds )
{
if ( dn != NULL ) {
return LDAP_NOT_SUPPORTED;
}

if ( creds != NULL ) {
return LDAP_NOT_SUPPORTED;
}

return ldap_int_gss_spnego_bind_s(ld);
}

According this it is executed only if 'dn' and 'creds' is NULL.
My question is how can I set the user name and password which I want to authenticate on LDAP server?

Regards,
Arpad