version 1.56, 2004/01/01 18:15:27
|
version 1.57, 2004/06/30 14:24:07
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.55 2003/11/26 06:16:38 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.56 2004/01/01 18:15:27 kurt Exp $ */ |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
* |
* |
* Copyright 1998-2004 The OpenLDAP Foundation. |
* Copyright 1998-2004 The OpenLDAP Foundation. |
Line 120 ldap_sasl_bind(
|
Line 120 ldap_sasl_bind(
|
cred ); |
cred ); |
|
|
} else if ( cred == NULL || cred->bv_val == NULL ) { |
} else if ( cred == NULL || cred->bv_val == NULL ) { |
/* SASL bind w/o creditials */ |
/* SASL bind w/o credentials */ |
rc = ber_printf( ber, "{it{ist{sN}N}" /*}*/, |
rc = ber_printf( ber, "{it{ist{sN}N}" /*}*/, |
id, LDAP_REQ_BIND, |
id, LDAP_REQ_BIND, |
ld->ld_version, dn, LDAP_AUTH_SASL, |
ld->ld_version, dn, LDAP_AUTH_SASL, |
mechanism ); |
mechanism ); |
|
|
} else { |
} else { |
/* SASL bind w/ creditials */ |
/* SASL bind w/ credentials */ |
rc = ber_printf( ber, "{it{ist{sON}N}" /*}*/, |
rc = ber_printf( ber, "{it{ist{sON}N}" /*}*/, |
id, LDAP_REQ_BIND, |
id, LDAP_REQ_BIND, |
ld->ld_version, dn, LDAP_AUTH_SASL, |
ld->ld_version, dn, LDAP_AUTH_SASL, |