Fix typo in KRBV4 handling

This commit is contained in:
Howard Chu 2003-02-27 05:51:41 +00:00
parent 32399d9bd9
commit 32a38866b7

View File

@ -544,7 +544,7 @@ tool_args( int argc, char **argv )
#endif
} else {
#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
if ( authmethod = LDAP_AUTH_KRBV4 || authmethod == LDAP_AUTH_KRBV41 ) {
if ( authmethod == LDAP_AUTH_KRBV4 || authmethod == LDAP_AUTH_KRBV41 ) {
fprintf( stderr, "%s: -k/-K incompatible with LDAPv%d\n",
prog, protocol );
exit( EXIT_FAILURE );