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

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

parent a44706f6
Pipeline #1852 passed with stage
in 42 minutes and 8 seconds
...@@ -93,7 +93,6 @@ handle_private_option( int i ) ...@@ -93,7 +93,6 @@ handle_private_option( int i )
{ {
switch ( i ) { switch ( i ) {
char *control, *cvalue; char *control, *cvalue;
int crit;
case 'E': /* vc extension */ case 'E': /* vc extension */
if( protocol == LDAP_VERSION2 ) { if( protocol == LDAP_VERSION2 ) {
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"), fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
...@@ -105,10 +104,8 @@ handle_private_option( int i ) ...@@ -105,10 +104,8 @@ handle_private_option( int i )
* [!]key[=value] parameters, e.g. -E !foo,bar=567 * [!]key[=value] parameters, e.g. -E !foo,bar=567
*/ */
crit = 0;
cvalue = NULL; cvalue = NULL;
if( optarg[0] == '!' ) { if( optarg[0] == '!' ) {
crit = 1;
optarg++; optarg++;
} }
......
Supports Markdown
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