Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
cea5bf33
Commit
cea5bf33
authored
Mar 28, 2003
by
Kurt Zeilenga
Browse files
Fix critical argument handling
parent
c00657ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
cea5bf33
...
...
@@ -10,6 +10,7 @@ OpenLDAP 2.1.17 Engineering
Fixed slapd request flooding bug (ITS#2389)
Fixed slurpd one shot mode (ITS#2385)
Fixed slurpd core dump on exit (ITS#2363)
Fixed clients critical argument handling
Removed lint (ITS#2382)
Documentation
Update slurpd(8) -u usage
...
...
clients/tools/common.c
View file @
cea5bf33
...
...
@@ -114,10 +114,10 @@ tool_args( int argc, char **argv )
char
*
control
,
*
cvalue
;
switch
(
i
)
{
case
'c'
:
/* continuous operation mode */
contoper
=
1
;
contoper
++
;
break
;
case
'C'
:
referrals
=
1
;
referrals
++
;
break
;
case
'd'
:
debug
|=
atoi
(
optarg
);
...
...
@@ -260,10 +260,10 @@ tool_args( int argc, char **argv )
break
;
case
'M'
:
/* enable Manage DSA IT */
manageDSAit
=
1
;
manageDSAit
++
;
break
;
case
'n'
:
/* print operations, don't actually do them */
not
=
1
;
not
++
;
break
;
case
'O'
:
#ifdef HAVE_CYRUS_SASL
...
...
@@ -372,7 +372,7 @@ tool_args( int argc, char **argv )
#endif
break
;
case
'v'
:
/* verbose mode */
verbose
=
1
;
verbose
++
;
break
;
case
'V'
:
/* version */
version
++
;
...
...
@@ -389,7 +389,7 @@ tool_args( int argc, char **argv )
passwd
.
bv_len
=
strlen
(
passwd
.
bv_val
);
break
;
case
'W'
:
want_bindpw
=
1
;
want_bindpw
++
;
break
;
case
'y'
:
pw_file
=
optarg
;
...
...
@@ -440,7 +440,7 @@ tool_args( int argc, char **argv )
break
;
case
'Z'
:
#ifdef HAVE_TLS
use_tls
=
1
;
use_tls
++
;
#else
fprintf
(
stderr
,
"%s: not compiled with TLS support
\n
"
,
prog
);
exit
(
EXIT_FAILURE
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment