mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Add -y support to ldappasswd.c
s/passwd/password/ in usage description
This commit is contained in:
parent
d8350698aa
commit
a9e68ef991
@ -84,11 +84,11 @@ tool_common_usage( void )
|
|||||||
" -U authcid SASL authentication identity\n",
|
" -U authcid SASL authentication identity\n",
|
||||||
" -v run in verbose mode (diagnostics to standard output)\n",
|
" -v run in verbose mode (diagnostics to standard output)\n",
|
||||||
" -V print version info (-VV only)\n",
|
" -V print version info (-VV only)\n",
|
||||||
" -w passwd bind passwd (for simple authentication)\n",
|
" -w passwd bind password (for simple authentication)\n",
|
||||||
" -W prompt for bind passwd\n",
|
" -W prompt for bind password\n",
|
||||||
" -x Simple authentication\n",
|
" -x Simple authentication\n",
|
||||||
" -X authzid SASL authorization identity (\"dn:<dn>\" or \"u:<user>\")\n",
|
" -X authzid SASL authorization identity (\"dn:<dn>\" or \"u:<user>\")\n",
|
||||||
" -y file Read passwd from file\n",
|
" -y file Read password from file\n",
|
||||||
" -Y mech SASL mechanism\n",
|
" -Y mech SASL mechanism\n",
|
||||||
" -Z Start TLS request (-ZZ to require successful response)\n",
|
" -Z Start TLS request (-ZZ to require successful response)\n",
|
||||||
NULL
|
NULL
|
||||||
|
@ -49,7 +49,7 @@ usage( void )
|
|||||||
|
|
||||||
|
|
||||||
const char options[] = "a:As:S"
|
const char options[] = "a:As:S"
|
||||||
"Cd:D:e:h:H:InO:p:QR:U:vVw:WxX:Y:Z";
|
"Cd:D:e:h:H:InO:p:QR:U:vVw:WxX:y:Y:Z";
|
||||||
|
|
||||||
int
|
int
|
||||||
handle_private_option( int i )
|
handle_private_option( int i )
|
||||||
|
Loading…
Reference in New Issue
Block a user