From 6b4aac2678ec5998e6d6ba0d44fc09ed595763d6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 12 Apr 2000 01:02:58 +0000 Subject: [PATCH] #define LDAP_LDIF to default to LDIF output --- clients/tools/ldapsearch.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 178107f06c..d28c9a3b2d 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -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"); -- 2.39.5