From ac6df28e7d771daa13d0b34f69b57fd1f09cf47b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 8 Feb 2002 19:10:06 +0000 Subject: [PATCH] Fix misplaced "search" references --- clients/tools/ldapcompare.c | 2 +- clients/tools/ldapdelete.c | 4 ++-- clients/tools/ldapmodify.c | 4 ++-- clients/tools/ldapmodrdn.c | 4 ++-- clients/tools/ldappasswd.c | 2 +- clients/tools/ldapwhoami.c | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/clients/tools/ldapcompare.c b/clients/tools/ldapcompare.c index 0216eb0784..b6082a61b3 100644 --- a/clients/tools/ldapcompare.c +++ b/clients/tools/ldapcompare.c @@ -539,7 +539,7 @@ main( int argc, char **argv ) ld = ldap_init( ldaphost, ldapport ); if( ld == NULL ) { - perror("ldapsearch: ldap_init"); + perror("ldapcompare: ldap_init"); return EXIT_FAILURE; } diff --git a/clients/tools/ldapdelete.c b/clients/tools/ldapdelete.c index c55ee9e978..13230f5f78 100644 --- a/clients/tools/ldapdelete.c +++ b/clients/tools/ldapdelete.c @@ -68,7 +68,7 @@ usage( const char *s ) " -k use Kerberos authentication\n" " -K like -k, but do only step 1 of the Kerberos bind\n" " -M enable Manage DSA IT control (-MM to make critical)\n" -" -n show what would be done but don't actually search\n" +" -n show what would be done but don't actually do it\n" " -O props SASL security properties\n" " -p port port on LDAP server\n" " -P version procotol version (default: 3)\n" @@ -504,7 +504,7 @@ main( int argc, char **argv ) ld = ldap_init( ldaphost, ldapport ); if( ld == NULL ) { - perror("ldapsearch: ldap_init"); + perror("ldapdelete: ldap_init"); return EXIT_FAILURE; } diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 4a6c6930b9..8db5c81776 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -115,7 +115,7 @@ usage( const char *prog ) " -k use Kerberos authentication\n" " -K like -k, but do only step 1 of the Kerberos bind\n" " -M enable Manage DSA IT control (-MM to make critical)\n" -" -n show what would be done but don't actually modify\n" +" -n show what would be done but don't actually update\n" " -O props SASL security properties\n" " -p port port on LDAP server\n" " -P version procotol version (default: 3)\n" @@ -576,7 +576,7 @@ main( int argc, char **argv ) ld = ldap_init( ldaphost, ldapport ); if( ld == NULL ) { - perror("ldapsearch: ldap_init"); + perror("ldapmodify: ldap_init"); return EXIT_FAILURE; } diff --git a/clients/tools/ldapmodrdn.c b/clients/tools/ldapmodrdn.c index dba876d563..913481e1e3 100644 --- a/clients/tools/ldapmodrdn.c +++ b/clients/tools/ldapmodrdn.c @@ -82,7 +82,7 @@ usage( const char *s ) " -k use Kerberos authentication\n" " -K like -k, but do only step 1 of the Kerberos bind\n" " -M enable Manage DSA IT control (-MM to make critical)\n" -" -n show what would be done but don't actually search\n" +" -n show what would be done but don't actually update\n" " -O props SASL security properties\n" " -p port port on LDAP server\n" " -P version procotol version (default: 3)\n" @@ -547,7 +547,7 @@ main(int argc, char **argv) ld = ldap_init( ldaphost, ldapport ); if( ld == NULL ) { - perror("ldapsearch: ldap_init"); + perror("ldapmodify: ldap_init"); return EXIT_FAILURE; } diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index 5819b412fa..ea0977e833 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -44,7 +44,7 @@ usage(const char *s) " -h host LDAP server(s)\n" " -H URI LDAP Uniform Resource Indentifier(s)\n" " -I use SASL Interactive mode\n" -" -n show what would be done but don't actually search\n" +" -n show what would be done but don't actually update\n" " -O props SASL security properties\n" " -p port port on LDAP server\n" " -Q use SASL Quiet mode\n" diff --git a/clients/tools/ldapwhoami.c b/clients/tools/ldapwhoami.c index ed711e560e..1abe845ec1 100644 --- a/clients/tools/ldapwhoami.c +++ b/clients/tools/ldapwhoami.c @@ -38,7 +38,7 @@ usage(const char *s) " -h host LDAP server(s)\n" " -H URI LDAP Uniform Resource Indentifier(s)\n" " -I use SASL Interactive mode\n" -" -n show what would be done but don't actually search\n" +" -n show what would be done but don't actually do it\n" " -O props SASL security properties\n" " -p port port on LDAP server\n" " -Q use SASL Quiet mode\n" @@ -554,7 +554,7 @@ main( int argc, char *argv[] ) ld = ldap_init( ldaphost, ldapport ); if( ld == NULL ) { - perror("ldapsearch: ldap_init"); + perror("ldapwhoami: ldap_init"); return EXIT_FAILURE; } -- 2.39.5