PY3: change shebang to python3 in source4/dsdb dir
authorJoe Guo <joeg@catalyst.net.nz>
Wed, 12 Dec 2018 00:40:43 +0000 (13:40 +1300)
committerNoel Power <npower@samba.org>
Fri, 14 Dec 2018 13:40:20 +0000 (14:40 +0100)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
31 files changed:
source4/dsdb/samdb/ldb_modules/tests/possibleinferiors.py
source4/dsdb/tests/python/acl.py
source4/dsdb/tests/python/ad_dc_medley_performance.py
source4/dsdb/tests/python/ad_dc_multi_bind.py
source4/dsdb/tests/python/ad_dc_performance.py
source4/dsdb/tests/python/ad_dc_provision_performance.py
source4/dsdb/tests/python/ad_dc_search_performance.py
source4/dsdb/tests/python/confidential_attr.py
source4/dsdb/tests/python/deletetest.py
source4/dsdb/tests/python/dirsync.py
source4/dsdb/tests/python/dsdb_schema_info.py
source4/dsdb/tests/python/ldap.py
source4/dsdb/tests/python/ldap_schema.py
source4/dsdb/tests/python/ldap_syntaxes.py
source4/dsdb/tests/python/linked_attributes.py
source4/dsdb/tests/python/login_basics.py
source4/dsdb/tests/python/ndr_pack_performance.py
source4/dsdb/tests/python/notification.py
source4/dsdb/tests/python/password_lockout.py
source4/dsdb/tests/python/password_settings.py
source4/dsdb/tests/python/passwords.py
source4/dsdb/tests/python/sam.py
source4/dsdb/tests/python/sec_descriptor.py
source4/dsdb/tests/python/sites.py
source4/dsdb/tests/python/sort.py
source4/dsdb/tests/python/token_group.py
source4/dsdb/tests/python/tombstone_reanimation.py
source4/dsdb/tests/python/urgent_replication.py
source4/dsdb/tests/python/user_account_control.py
source4/dsdb/tests/python/vlv.py
source4/script/depfilter.py

index 20963c0150d5000a511a3e4cd9cf4a6125a6e003..ab13b14b3a8cb395cf4dc620fd7b7295d89f0042 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Unix SMB/CIFS implementation.
 # Copyright (C) Andrew Tridgell 2009
index 0f6264f09c99ba52694a7ecd57c38f3555fc9ea9..dbad8a36a8d279633124809021c0334b8e8648ef 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # This is unit with tests for LDAP access checks
 
index 0636210d1e3001fc3406a193b2790f79dc2cefa2..1be8ef6ce391095d4292555238d3df39c766cb45 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 from __future__ import print_function
 
index fbe2e6cf0d4e7dc14ceed679b542a6de06a15594..73e1a6b9ba7b876e0dbbbd509d714ae06b71d8e1 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 import optparse
 import sys
index 945de2201c8cdbb301dd339741c56a1fca76f7ce..595ea68140961dfe3bd84247a3b8f42bbe767112 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 from __future__ import print_function
 
index 748149e4b9982b61bd0a263da4776011908d97b2..3ce0eb7a13e5262765bce8533ce69abec3bee13b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 import optparse
 import sys
index 905572a2d3f75b4703dcbf28a1cc24b6d7eda7e3..2e36218fc48e5597b801796843f8b25ecd920fee 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 from __future__ import print_function
 
index f1d6a95fef8efa89db7fac5077aa14c61398483a..d5c7785485a3c74a520b53315c2e85267bc23d49 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #
 # Tests that confidential attributes (or attributes protected by a ACL that
index ecc68a84bf67e741abf5d20fc24115433d92c226..25a26c7722120029f9949e306a03c693792ca502 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from __future__ import print_function
index a23060a66d5e2f87599c1759f14e67ddbe3985a3..c6a1df5ea43f4ae979744539397c278a05f0b7b4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Unit tests for dirsync control
 # Copyright (C) Matthieu Patou <mat@matws.net> 2011
index ac37a8146c41e8ae864d84f94cd06b4c9671e312..60c97b65829e8f3f415a90114e415cc3389f848b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #
 # Unix SMB/CIFS implementation.
index ea249b63079486cea8cab116a7daba9b05cdce59..1d4b19adcbcb190d70c8f13f900b7c6dd751e8ae 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # This is a port of the original in testprogs/ejs/ldap.js
 
index b794b76863ee08f6082de9c53ebb28226ca8a96d..eca7d857698b60d1b8f005bb95257d98c553b590 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # This is a port of the original in testprogs/ejs/ldap.js
 
index 9af3ee454443fdb02956d63ea8069acf02168f37..ff319553c0558e601fe3c7c483a27e1a8112fa90 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Tests for LDAP syntaxes
 
index 7e94cd937266d3f40fefd3f6fbcf87dd37fb9726..d015065ab04a43db59206dbcb5ee46767135f5c5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Originally based on ./sam.py
 from __future__ import print_function
index 39406fc36a214f0ceea3d3e8311a88d0523afad7..d265441826de5b05fd9ae6daf3b98bb8ad9ca8a8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #
 # Basic sanity-checks of user login. This sanity-checks that a user can login
index 935bcb6f345674db450d1cc7e00309a8c2030b0f..3b31a3a29a70cb51b5c41108924d4fc32cb72fb2 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 import optparse
 import sys
index b8e897da910fa824278704358951c08c0ff72154..15107739086ed9a4b66d414ba3f2c1cac322c396 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Unit tests for the notification control
 # Copyright (C) Stefan Metzmacher 2016
index e8ed73aa1dc4e6f8c4bb7a604ff1f7488e09977a..efbdeb2ed90de1e22f5df17987474252ee40fe9b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # This tests the password lockout behavior for AD implementations
 #
index cdcc0dac1f38c5915508cb6e1f5017b8894ed55a..5d6deaeebe5e1d1c40063fd4ea2049b88c0b16d9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #
 # Tests for Password Settings Objects.
index e8eb7e411821453414928e1707820823820ae856..e1d0a9818977e7b6f9c23a24921cb9efcb102e0a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # This tests the password changes over LDAP for AD implementations
 #
index 5de33d3645452e5e3f414743f9f1c5730d1a2681..2d39286dd2ef5a2380314474665bfc1cce08587c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # This is a port of the original in testprogs/ejs/ldap.js
 
index 7a033bacc191c85d1c279c2c4051a4bb2f76d58c..a385c4e17ada1db9c84ddfbfdeac66c659b76c12 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from __future__ import print_function
index e7d93314d21a040da04421483e3655e6a57f6809..783b896caf92fdd00635307ff41fbc25a6c763da 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Unit tests for sites manipulation in samba
 # Copyright (C) Matthieu Patou <mat@matws.net> 2011
index 3bb1745c2eda29f7e5f8c826c4048dded3f93a56..19e8f7f2fcb60bcdd23d5b176f728949710b31dc 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Originally based on ./sam.py
 from __future__ import print_function
index af2f4f4e79f46e7bcf58cd740f59d0e722b61a6e..b3db24dcb4da95a381c0f84f37a3b1e0c113d174 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # test tokengroups attribute against internal token calculation
 
index 2e0f370dddc358dd6619d68e4ca0324f6dcf7dee..9cca54362951ab607a9ff9233d14b857a7bbbbe8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Tombstone reanimation tests
 #
index f8ea3353ca0e564cd8555e7a2c28139f38973af2..5e304cfc98950c3aa9baa210d16cdfd6090c914d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from __future__ import print_function
index a64fc629c0101a4c967ba50a79063f3a5a68b566..2d62d4c32b19e9bae10a9b01dc5a83f74072a426 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # This tests the restrictions on userAccountControl that apply even if write access is permitted
 #
index 3b737776d0d3e93dcf2c6ad9e591fd562c93b147..f75659a3f95d9ce8ff5371373c8bea6d3e538c1f 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Originally based on ./sam.py
 from __future__ import print_function
index f2152538fb3f6d2bbbf5c598bd4291a296b7cc5f..1f741f746e08f4dcafdb5d25452e1f7a2c8e138d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Filter out arcs in a dotty graph that are at or below a certain
 # node.  This is useful for visualising parts of the dependency graph.