mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
PY3: change shebang to python3 in source4/scripting/bin dir
Samba default python is 3 now. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# enabled the Recycle Bin optional feature
|
# enabled the Recycle Bin optional feature
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Helper for determining USN ranges created of modified by provision and
|
# Helper for determining USN ranges created of modified by provision and
|
||||||
# upgradeprovision.
|
# upgradeprovision.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Works out the full schema
|
# Works out the full schema
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
#
|
#
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
#
|
#
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
#
|
#
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Copyright (C) Catalyst IT Ltd. 2017
|
# Copyright (C) Catalyst IT Ltd. 2017
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
#
|
#
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
# A script to compare differences of security descriotors between
|
# A script to compare differences of security descriotors between
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
import optparse
|
import optparse
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Works out the minimal schema for a set of objectclasses
|
# Works out the minimal schema for a set of objectclasses
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
# Copyright (C) Volker Lendecke 2008
|
# Copyright (C) Volker Lendecke 2008
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
# Extended attributes (re)building
|
# Extended attributes (re)building
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# vim: expandtab
|
# vim: expandtab
|
||||||
#
|
#
|
||||||
# Copyright (C) Matthieu Patou <mat@matws.net> 2011
|
# Copyright (C) Matthieu Patou <mat@matws.net> 2011
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys, os, string
|
import sys, os, string
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright Luke Morrison <luc785@.hotmail.com> July 2013
|
# Copyright Luke Morrison <luc785@.hotmail.com> July 2013
|
||||||
# Co-Edited by Matthieu Pattou July 2013 from original August 2013
|
# Co-Edited by Matthieu Pattou July 2013 from original August 2013
|
||||||
# Edited by Garming Sam Feb. 2014
|
# Edited by Garming Sam Feb. 2014
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008-2012
|
# Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008-2012
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Dump Samba3 data
|
# Dump Samba3 data
|
||||||
# Copyright Jelmer Vernooij 2005-2007
|
# Copyright Jelmer Vernooij 2005-2007
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# vim: expandtab
|
# vim: expandtab
|
||||||
#
|
#
|
||||||
# update our DNS names using TSIG-GSS
|
# update our DNS names using TSIG-GSS
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Compute our KCC topology
|
# Compute our KCC topology
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# update our servicePrincipalName names from spn_update_list
|
# update our servicePrincipalName names from spn_update_list
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
# Copyright (C) Amitay Isaacs <amitay@gmail.com> 2012
|
# Copyright (C) Amitay Isaacs <amitay@gmail.com> 2012
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# vim: expandtab
|
# vim: expandtab
|
||||||
#
|
#
|
||||||
# Copyright (C) Matthieu Patou <mat@matws.net> 2009 - 2010
|
# Copyright (C) Matthieu Patou <mat@matws.net> 2009 - 2010
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
import optparse
|
import optparse
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# provide information on connected users and open files
|
# provide information on connected users and open files
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Simple subunit testrunner for python
|
# Simple subunit testrunner for python
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Unix SMB/CIFS implementation.
|
# Unix SMB/CIFS implementation.
|
||||||
# Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
|
# Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2009
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
||||||
for script in ['samba-tool',
|
for script in ['samba-tool',
|
||||||
|
Reference in New Issue
Block a user