[PATCH] add setpassword subcommand to samba-tools computer

joeg at catalyst.net.nz joeg at catalyst.net.nz
Tue Apr 10 02:48:07 UTC 2018


Made a small change:

if user specified neither --newpassword nor --random-password, then ask
user to input new password twice and verify.

Please ignore first patch and review v2. Thank you!


On 10/04/18 11:29, joeg--- via samba-technical wrote:
> Hi, team:
>
> I added a `setpassword` subcommand to samba-tools computer command.
>
> It will be helpful to set password for computer, so we can run script
> like described in this link:
>
> https://jorgequestforknowledge.wordpress.com/2009/01/01/domain-join-through-an-rodc-instead-of-an-rwdc/
>
> Review appreciated!
>
> Joe Guo
>

-- 
Joe Guo
joeg at catalyst.net.nz
Catalyst IT

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-samba-tools-computer-add-setpassword-subcommand-v2.patch
Type: text/x-patch
Size: 9224 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180410/54cfa06b/0001-samba-tools-computer-add-setpassword-subcommand-v2.bin>


More information about the samba-technical mailing list