Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
0a8ffa82
Commit
0a8ffa82
authored
Aug 14, 2009
by
Quanah Gibson-Mount
Browse files
advertise known exops
parent
457a36ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
clients/tools/ldapexop.c
View file @
0a8ffa82
...
...
@@ -43,6 +43,9 @@ usage( void )
{
fprintf
(
stderr
,
_
(
"Issue LDAP extended operations
\n\n
"
));
fprintf
(
stderr
,
_
(
"usage: %s [options] <oid|oid:data|oid::b64data>
\n
"
),
prog
);
fprintf
(
stderr
,
_
(
" %s [options] whoami
\n
"
),
prog
);
fprintf
(
stderr
,
_
(
" %s [options] cancel <id>
\n
"
),
prog
);
fprintf
(
stderr
,
_
(
" %s [options] refresh <DN> [<ttl>]
\n
"
),
prog
);
tool_common_usage
();
exit
(
EXIT_FAILURE
);
}
...
...
@@ -152,8 +155,6 @@ main( int argc, char *argv[] )
case
2
:
dn
.
bv_val
=
argv
[
1
];
dn
.
bv_len
=
strlen
(
dn
.
bv_val
);
case
1
:
break
;
default:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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