git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
866d5b3
)
samba-tool spn: remove unused variables
author
Douglas Bagnall
<douglas.bagnall@catalyst.net.nz>
Sat, 27 Oct 2018 11:33:30 +0000
(
00:33
+1300)
committer
Douglas Bagnall
<dbagnall@samba.org>
Thu, 1 Nov 2018 04:08:14 +0000
(
05:08
+0100)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
python/samba/netcmd/spn.py
patch
|
blob
|
history
diff --git
a/python/samba/netcmd/spn.py
b/python/samba/netcmd/spn.py
index 62884a4ec09776733443ca8edc0e0dcfe9febe67..f0069460e3eff9d0dad18f54085471d60d14220f 100644
(file)
--- a/
python/samba/netcmd/spn.py
+++ b/
python/samba/netcmd/spn.py
@@
-58,8
+58,6
@@
class cmd_spn_list(Command):
scope=ldb.SCOPE_SUBTREE, attrs=["servicePrincipalName"])
if len(res) > 0:
spns = res[0].get("servicePrincipalName")
- found = False
- flag = ldb.FLAG_MOD_ADD
if spns is not None:
self.outf.write(
"User %s has the following servicePrincipalName: \n" %