r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.
authorLars Müller <lmuelle@samba.org>
Thu, 16 Feb 2006 16:22:44 +0000 (16:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:10 +0000 (11:10 -0500)
commitdbdc5ba497c6010dbad47c9d77fc8bec5557a328
tree6c69b63ee530dc42fa4a794440b21b9e0e23e865
parent85435bf96114679253551a3e6c5db046b8320611
r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.

This fixes bug #1386.

The initial changes had been made by Carsten Höger <choeger at
open-xhange dot com> for Samba 2.2 while being at SuSE. *sigh*

To not duplicate code from smbpasswd in pdbedit stdin_new_passwd() and
get_pass() are moved from smbpasswd to utils/passwd_util.c.
source/Makefile.in
source/utils/passwd_util.c [new file with mode: 0644]
source/utils/pdbedit.c
source/utils/smbpasswd.c