[PATCH 4/6] s4: Remove targetdir as it can cause some trouble and can be replaced by an adapted -s smb.conf
Matthieu Patou
mat at matws.net
Sun Nov 29 09:44:08 MST 2009
---
source4/scripting/bin/upgradeprovision | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index bfe5610..48f6747 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -112,8 +112,6 @@ parser.add_option("--debugchange", help="Print information on what is different
parser.add_option("--debugchangesd", help="Print information security descriptors differences", action="store_true")
parser.add_option("--debugall", help="Print all available information (very verbose)", action="store_true")
parser.add_option("--full", help="Perform full upgrade of the samdb (schema, configuration, new objects, ...", action="store_true")
-parser.add_option("--targetdir", type="string", metavar="DIR",
- help="Set target directory")
opts = parser.parse_args()[0]
@@ -748,7 +746,7 @@ def update_machine_account_password(paths,creds,session,names):
# From here start the big steps of the program
# First get files paths
-paths=get_paths(targetdir=opts.targetdir,smbconf=smbconf)
+paths=get_paths(smbconf=smbconf)
paths.setup = setup_dir
def setup_path(file):
return os.path.join(setup_dir, file)
--
1.6.3.3
--------------040300090101090904090106
Content-Type: text/x-patch;
name="0005-s4-reorder-action-to-permit-old-provision-to-be-corr.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0005-s4-reorder-action-to-permit-old-provision-to-be-corr.pa";
filename*1="tch"
More information about the samba-technical
mailing list