- "Usage: %s [options] dn\n"
- " -A\t\tprompt for old password\n"
- " -a secret\told password\n"
- " -D binddn\tbind dn\n"
- " -d level\tdebugging level\n"
- " -h host\tldap server (default: localhost)\n"
- " -n\t\tmake no modifications\n"
- " -p port\tldap port\n"
- " -S\t\tprompt for new password\n"
- " -s secret\tnew password\n"
- " -v\t\tincrease verbosity\n"
- " -W\t\tprompt for bind password\n"
- " -w passwd\tbind password (for simple authentication)\n"
- , s );
-
+"Change password of an LDAP user\n\n"
+"usage: %s [options] [user]\n"
+" user: the autentication identity, commonly a DN\n"
+"Password change options:\n"
+" -a secret old password\n"
+" -A prompt for old password\n"
+" -s secret new password\n"
+" -S prompt for new password\n"
+ , prog );
+ tool_common_usage();