]> git.sur5r.net Git - openldap/commitdiff
Fix typo in KRBV4 handling
authorHoward Chu <hyc@openldap.org>
Thu, 27 Feb 2003 05:51:41 +0000 (05:51 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 27 Feb 2003 05:51:41 +0000 (05:51 +0000)
clients/tools/common.c

index 2600d67a9e3e32513eac2a6a2b34be3b4180f86d..864d9262d15548d34a8582b3ba386a1b7e194e8e 100644 (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 );