r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.
commit394d1aeb8e2922a261efa78d65fc21defde63448
authorLars Müller <lmuelle@samba.org>
Thu, 16 Feb 2006 16:22:44 +0000 (16 16:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:10 +0000 (10 11:10 -0500)
tree4ae9cbaea3a9d8e5e9a9c7cb1a503f1577faf8b0
parentee078e61a6e4d0ae462ff480d89eb83298523ec3
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.
(This used to be commit dbdc5ba497c6010dbad47c9d77fc8bec5557a328)
source3/Makefile.in
source3/utils/passwd_util.c [new file with mode: 0644]
source3/utils/pdbedit.c
source3/utils/smbpasswd.c