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

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

Kurt D. Zeilenga wrote:
> Given that if you leave off the -s, slappasswd will
> gladly prompt for a password, why is this needed?
> 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.

The -S option introduced by the patch is essentially the same thing as
the -y option. The following two commands should be equivilent:

slappasswd -S < /foo/bar
slappasswd -y /foo/bar


slappasswd -S
slappasswd -y /dev/stdin

So, if the -y option is implemented, that's sufficient for me. Thanks!


Roland Bauerschmidt