diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-08-11 14:03:55 +1200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-10-20 20:22:22 +0200 |
commit | e8bab905d304158c63e6af54903aea10a63684e1 (patch) | |
tree | 7a57a632c715b698691d6197bcde0f0942501087 /source4/scripting | |
parent | 5701b99b5c134ee6ffffa0f34c2797c9c814d280 (diff) | |
download | samba-e8bab905d304158c63e6af54903aea10a63684e1.tar.gz |
samba_upgradedns: Remove unused variable
dnssecret is not used at any point later in the script
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/bin/samba_upgradedns | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_upgradedns b/source4/scripting/bin/samba_upgradedns index 689c9a435c7..53e05a6b6df 100755 --- a/source4/scripting/bin/samba_upgradedns +++ b/source4/scripting/bin/samba_upgradedns @@ -415,7 +415,6 @@ if __name__ == '__main__': try: dn = 'samAccountName=dns-%s,CN=Principals' % hostname msg = ldbs.secrets.search(expression='(dn=%s)' % dn, attrs=['secret']) - dnssecret = msg[0]['secret'][0] except IndexError: logger.info("Adding dns-%s account" % hostname) |