version 1.3, 1999/12/12 02:16:46
|
version 1.4, 1999/12/12 04:02:03
|
Line 1
|
Line 1
|
/* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.2 1999/09/08 17:06:29 kdz Exp $ */ |
/* $OpenLDAP: pkg/ldap/libraries/libldap/sasl.c,v 1.3 1999/12/12 02:16:46 kdz Exp $ */ |
/* |
/* |
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. |
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved. |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
Line 252 ldap_parse_sasl_bind_result(
|
Line 252 ldap_parse_sasl_bind_result(
|
return LDAP_PARAM_ERROR; |
return LDAP_PARAM_ERROR; |
} |
} |
|
|
if(servercredp != NULL) { |
if( servercredp != NULL ) { |
if( ld->ld_version < LDAP_VERSION2 ) { |
if( ld->ld_version < LDAP_VERSION2 ) { |
return LDAP_NOT_SUPPORTED; |
return LDAP_NOT_SUPPORTED; |
} |
} |
*servercredp = NULL; |
*servercredp = NULL; |
} |
} |
|
|
if( res->lm_msgtype == LDAP_RES_BIND ) { |
if( res->lm_msgtype != LDAP_RES_BIND ) { |
ld->ld_errno = LDAP_PARAM_ERROR; |
ld->ld_errno = LDAP_PARAM_ERROR; |
return ld->ld_errno; |
return ld->ld_errno; |
} |
} |