mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
return LDAP_NOT_SUPPORTED when SASL is not available
This commit is contained in:
parent
a48f7b6f93
commit
ff763d4730
@ -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 New Issue
Block a user