From: Kurt Zeilenga Date: Wed, 12 Apr 2000 01:02:58 +0000 (+0000) Subject: #define LDAP_LDIF to default to LDIF output X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b4aac2678ec5998e6d6ba0d44fc09ed595763d6;p=openldap #define LDAP_LDIF to default to LDIF output --- 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");