mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
return LDAP_NOT_SUPPORTED when SASL is not available
This commit is contained in:
parent
a48f7b6f93
commit
ff763d4730
1 changed files with 2 additions and 3 deletions
|
|
@ -968,9 +968,8 @@ tool_bind( LDAP *ld )
|
|||
exit( rc );
|
||||
}
|
||||
#else
|
||||
fprintf( stderr, "%s: not compiled with SASL support\n",
|
||||
prog );
|
||||
exit( rc );
|
||||
fprintf( stderr, "%s: not compiled with SASL support\n", prog );
|
||||
exit( LDAP_NOT_SUPPORTED );
|
||||
#endif
|
||||
} else {
|
||||
int msgid, err, rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue