git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b13e8
)
DEBUG python/samba/netcmd/fsmo.py
author
Stefan Metzmacher
<metze@samba.org>
Tue, 28 May 2019 12:55:58 +0000
(14:55 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 15 Oct 2019 07:36:38 +0000
(09:36 +0200)
python/samba/netcmd/fsmo.py
patch
|
blob
|
history
diff --git
a/python/samba/netcmd/fsmo.py
b/python/samba/netcmd/fsmo.py
index 643d0aec1b65c783edb465d0ac0a6e167fea46c4..a6eca6eb407a9c1b10f62e2b9e4c9e702376d87c 100644
(file)
--- a/
python/samba/netcmd/fsmo.py
+++ b/
python/samba/netcmd/fsmo.py
@@
-115,6
+115,10
@@
def transfer_dns_role(outf, sambaopts, credopts, role, samdb):
m["fSMORoleOwner_Add"] = ldb.MessageElement(new_owner,
ldb.FLAG_MOD_ADD,
"fSMORoleOwner")
+
+ outf.write("update message:")
+ outf.write(samdb.write_ldif(m, ldb.CHANGETYPE_MODIFY))
+
try:
samdb.modify(m)
except LdbError as e5: