[Date Prev][Date Next]
Re: slappasswd: read password from stdin (ITS#2411)
Content-Type: text/plain; charset=us-ascii
* Kurt@OpenLDAP.org (Kurt@OpenLDAP.org) wrote:
> At 06:22 PM 3/31/2003, email@example.com wrote:
> >Kurt D. Zeilenga wrote:
> >> In looking at the code, I noticed it didn't support
> >> password files like the LDAP client tools (-y). I've
> >> added support for this.
> >Is there a reason the option is -T and not -y as it is in the client
> For consistency with ldappasswd(1). -y is current password,
> -t is old password, -T is new password.
> >Since /dev/stdin isn't portable, would you apply a patch like the
> I believe your patch would break most of the client tools,
> such as ldapmodify(1), which may read input from stdin.
I havn't looked at the code quite yet but I would think the expected
input for the password is a single line ended with a newline and so long
as the password handling only read that one line and did *not* close the
file handle if it's stdin things should be alright.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----