mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
clarify use of -y (as per ITS#4994)
This commit is contained in:
parent
11d0413be8
commit
574e1f59ee
1 changed files with 12 additions and 0 deletions
|
|
@ -108,6 +108,18 @@ Use \fIpasswd\fP as the password for simple authentication.
|
|||
.BI \-y \ passwdfile
|
||||
Use complete contents of \fIpasswdfile\fP as the password for
|
||||
simple authentication.
|
||||
Note that \fIcomplete\fP means that any leading or trailing whitespaces,
|
||||
including newlines, will be considered part of the password and,
|
||||
unlike other software, they will not be stripped.
|
||||
As a consequence, passwords stored in files by commands like
|
||||
.BR echo (1)
|
||||
will not behave as expected, since
|
||||
.BR echo (1)
|
||||
by default appends a trailing newline to the echoed string.
|
||||
The recommended portable way to store a cleartext password in a file
|
||||
for use with this option is to use
|
||||
.BR slappasswd (8)
|
||||
with \fI{CLEARTEXT}\fP as hash and the option \fI\-n\fP.
|
||||
.TP
|
||||
.BI \-H \ ldapuri
|
||||
Specify URI(s) referring to the ldap server(s); only the protocol/host/port
|
||||
|
|
|
|||
Loading…
Reference in a new issue