X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=clients%2Ftools%2Fldapvc.c;h=7cc53de97e0c19f14df95ebd4c3920bf76b6b574;hb=10566c8be384c6435476ec54e842382841cb84b6;hp=2ec4cd9c1173acad24a0ca6cae44d543c758b703;hpb=46331f0216c4de9fa3aa26273f18b5be2afa6e18;p=openldap diff --git a/clients/tools/ldapvc.c b/clients/tools/ldapvc.c index 2ec4cd9c11..7cc53de97e 100644 --- a/clients/tools/ldapvc.c +++ b/clients/tools/ldapvc.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2014 The OpenLDAP Foundation. + * Copyright 1998-2017 The OpenLDAP Foundation. * Portions Copyright 2010 Kurt D. Zeilenga. * All rights reserved. * @@ -77,7 +77,7 @@ usage( void ) fprintf( stderr, _(" -E sasl=(a[utomatic]|i[nteractive]|q[uiet]>\tSASL mode (defaults to automatic if any other -E option provided, otherwise none))\n")); fprintf( stderr, _(" -E mech=\tSASL mechanism (default "" e.g. Simple)\n")); fprintf( stderr, _(" -E realm=\tSASL Realm (defaults to none)\n")); - fprintf( stderr, _(" -E authcid=\tSASL Authenication Identity (defaults to USER)\n")); + fprintf( stderr, _(" -E authcid=\tSASL Authentication Identity (defaults to USER)\n")); fprintf( stderr, _(" -E authzid=\tSASL Authorization Identity (defaults to none)\n")); fprintf( stderr, _(" -E secprops=\tSASL Security Properties (defaults to none)\n")); tool_common_usage(); @@ -255,6 +255,8 @@ handle_private_option( int i ) fprintf( stderr, _("Invalid Verify Credentials extension name: %s\n"), control ); usage(); } + free( control ); + break; case 'a': /* request authzid */ req_authzid++;