diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-15 16:28:08 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-09 19:06:06 +0100 |
commit | 73d96ed239a1616f1074186d5ba0d02f716cae0e (patch) | |
tree | c32ee79c18e6fe32a5c97e189e36cf0bab8bafd8 /source4/nbt_server/nbt_server.h | |
parent | 88258c3b9337b7c384871d159ea4f12c280e1b2e (diff) | |
download | samba-73d96ed239a1616f1074186d5ba0d02f716cae0e.tar.gz samba-73d96ed239a1616f1074186d5ba0d02f716cae0e.tar.bz2 samba-73d96ed239a1616f1074186d5ba0d02f716cae0e.zip |
s4:scripting/devel: add repl_cleartext_pwd.py script
This is useful to sync passwords from an AD domain.
$
$ source4/scripting/devel/repl_cleartext_pwd.py \
-Uadministrator%A1b2C3d4 \
172.31.9.219 DC=bla,DC=base /tmp/cookie cleartext_utf8 131085 displayName
# starting at usn[0]
dn: CN=Test User1,CN=Users,DC=bla,DC=base
cleartext_utf8: A1b2C3d4
displayName:: VABlAHMAdAAgAFUAcwBlAHIAMQA=
# up to usn[16449]
$
$ source4/scripting/devel/repl_cleartext_pwd.py \
-Uadministrator%A1b2C3d4
172.31.9.219 DC=bla,DC=base /tmp/cookie cleartext_utf8 131085 displayName
# starting at usn[16449]
# up to usn[16449]
$
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 9 19:06:06 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/nbt_server/nbt_server.h')
0 files changed, 0 insertions, 0 deletions