[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slappasswd: read password from stdin (ITS#2411)



At 06:22 PM 3/31/2003, rb@debian.org 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
>tools?

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
>following?

I believe your patch would break most of the client tools,
such as ldapmodify(1), which may read input from stdin.

Kurt