]> git.sur5r.net Git - openldap/commitdiff
#define LDAP_LDIF to default to LDIF output
authorKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:02:58 +0000 (01:02 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 12 Apr 2000 01:02:58 +0000 (01:02 +0000)
clients/tools/ldapsearch.c

index 178107f06c3096b243074d2288c76c71ee20ed87..d28c9a3b2de5cab7d01b62f6c39e7c6b1cdec66a 100644 (file)
@@ -273,6 +273,11 @@ main( int argc, char **argv )
        }
        }
 
+#ifdef LDAP_LDIF
+       /* no alternative format */
+       if( ldif < 1 ) ldif = 1;
+#endif
+
        if( authmethod != LDAP_AUTH_SIMPLE ) {
                if( version == LDAP_VERSION3 ) {
                        fprintf(stderr, "Kerberos requires LDAPv2\n");