Commit 171e0d89 authored by Ondřej Kuzník's avatar Ondřej Kuzník

ITS#9382 ldapvc doesn't set any LDAP controls with -E

parent a44706f6
......@@ -93,7 +93,6 @@ handle_private_option( int i )
{
switch ( i ) {
char *control, *cvalue;
int crit;
case 'E': /* vc extension */
if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
......@@ -105,10 +104,8 @@ handle_private_option( int i )
* [!]key[=value] parameters, e.g. -E !foo,bar=567
*/
crit = 0;
cvalue = NULL;
if( optarg[0] == '!' ) {
crit = 1;
optarg++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment