]> git.sur5r.net Git - openldap/blobdiff - clients/tools/ldapmodify.c
#define LDAP_LDIF to default to LDIF output
[openldap] / clients / tools / ldapmodify.c
index 55c3b6f0b9d5929e67032d5ac95de57d14fed395..b6286a1ca6b735680383842ee071d55887ea270a 100644 (file)
@@ -138,7 +138,7 @@ main( int argc, char **argv )
            replace = 1;
            break;
        case 'k':       /* kerberos bind */
-#ifdef HAVE_KERBEROS
+#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
                authmethod = LDAP_AUTH_KRBV4;
 #else
                fprintf (stderr, "%s was not compiled with Kerberos support\n", argv[0]);
@@ -147,7 +147,7 @@ main( int argc, char **argv )
 #endif
            break;
        case 'K':       /* kerberos bind, part 1 only */
-#ifdef HAVE_KERBEROS
+#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND
                authmethod = LDAP_AUTH_KRBV41;
 #else
                fprintf (stderr, "%s was not compiled with Kerberos support\n", argv[0]);