samba-tool: add 'user syncpasswords' command

Enterprise / Samba - Stefan Metzmacher [samba.org] - 22 July 2016 09:03 UTC

This provides an easy way to keep passwords in sync with another account database, e.g. an OpenLDAP server.

It provides a functionality like the "passwd program" for the "unix password sync" feature of a standalone, member and classic (NT4) server, but for an active directory domain controller.

The provided script is called for each account/password related change.

Like the 'user getpassword' command it allows virtual attributes like:
virtualClearTextUTF16, virtualClearTextUTF8,
virtualCryptSHA256, virtualCryptSHA512, virtualSSHA

Note that this command should just run on a single domain controller (typically the PDC-emulator).

c68cb6a samba-tool: add 'user syncpasswords' command
python/samba/netcmd/user.py | 760 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 760 insertions(+)

Upstream: gitweb.samba.org


  • Share