Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
041c1545
Commit
041c1545
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Update usage and man page.
parent
431dad37
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
clients/tools/ldappasswd.c
+3
-1
3 additions, 1 deletion
clients/tools/ldappasswd.c
doc/devel/args
+1
-1
1 addition, 1 deletion
doc/devel/args
doc/man/man1/ldappasswd.1
+24
-6
24 additions, 6 deletions
doc/man/man1/ldappasswd.1
with
28 additions
and
8 deletions
clients/tools/ldappasswd.c
+
3
−
1
View file @
041c1545
...
...
@@ -28,13 +28,15 @@ usage(const char *s)
{
fprintf
(
stderr
,
"Usage: %s [options] dn
\n
"
" -A
\t\t
prompt for old password
\n
"
" -a secret
\t
old password
\n
"
" -D binddn
\t
bind dn
\n
"
" -d level
\t
debugging level
\n
"
" -h host
\t
ldap server (default: localhost)
\n
"
" -n
\t\t
make no modifications
\n
"
" -p port
\t
ldap port
\n
"
" -s secret
\t
new password
\n
"
" -S
\t\t
prompt for new password
\n
"
" -s secret
\t
new password
\n
"
" -v
\t\t
increase verbosity
\n
"
" -W
\t\t
prompt for bind password
\n
"
" -w passwd
\t
bind password (for simple authentication)
\n
"
...
...
This diff is collapsed.
Click to expand it.
doc/devel/args
+
1
−
1
View file @
041c1545
...
...
@@ -7,7 +7,7 @@ go500gw I P a cd f h l p t x
ldapdelete D K M P W cd f h k np vw
ldapmodify D F K M P W abcd f h k np r t vw
ldapmodrdn D K M P W cd f h k np rs vw
ldappasswd A D
KL
P
S
a
c
d h
k
s
tu
vw
ldappasswd A D
S W
a
d h
s
vw
ldapsearch AB D F KLM P RST VW ab d f h kl np stuvw z
mail500 C d f h lm v
rcpt500 U abc f h l p st z
...
...
This diff is collapsed.
Click to expand it.
doc/man/man1/ldappasswd.1
+
24
−
6
View file @
041c1545
...
...
@@ -6,6 +6,10 @@
ldappasswd \- change the password of an LDAP entry
.SH SYNOPSIS
.B ldappasswd
[\c
.BR \-A ]
[\c
.BI \-a \ oldPasswd\fR]
.BI \-D \ binddn\fR
[\c
.BI \-d \ debuglevel\fR]
...
...
@@ -16,6 +20,8 @@ ldappasswd \- change the password of an LDAP entry
[\c
.BI \-p \ ldapport\fR]
[\c
.BR \-S ]
[\c
.BI \-s \ newPasswd\fR]
[\c
.BR \-v ]
...
...
@@ -31,16 +37,24 @@ It is neither designed nor intended to be a replacement for
and should not be installed as such.
.LP
.B ldappasswd
sets the password of associated with the user
associated with the
bind DN.
If the new password is not specified on the command line, the user
will be prompted to enter it
.
sets the password of associated with the user
. If the new
password is not specified on the command line or the user
doesn't enable prompting, the server will be asked to generate
a password for the user
.
.SH OPTIONS
.TP
.BI \-A
Prompt for old password.
This is used instead of specifying the password on the command line.
.TP
.BI \-a \ oldPasswd
Set the old password to \fIoldPasswd\fP.
.TP
.BI \-D \ binddn
Use \fIbinddn\fP to bind to the LDAP directory. \fIbinddn\fP should
be a string-represented DN as defined in RFC 2253.
This flag is not optional.
This flag is not optional. The user DN will be used if the
bind DN is not provided.
.TP
.BI \-d \ debuglevel
Set the LDAP debugging level to \fIdebuglevel\fP.
...
...
@@ -55,8 +69,12 @@ Do not set password. (Can be useful when used in conjunction with
.BR \-v \ or
.BR \-d )
.TP
.BI \-S
Prompt for new password.
This is used instead of specifying the password on the command line.
.TP
.BI \-s \ newPasswd
Set the
user
password to \fInewPasswd\fP.
Set the
new
password to \fInewPasswd\fP.
.TP
.BI \-p \ ldapport
Specify an alternate port on which the ldap server is running.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment