From 1d0d78ab3d1f4210984a5a012cdb6d17862cec51 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 29 Nov 2009 19:44:08 +0300 Subject: [PATCH] s4: Remove targetdir as it can cause some trouble and can be replaced by an adapted -s smb.conf Signed-off-by: Andrew Bartlett --- source4/scripting/bin/upgradeprovision | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index bfe561027e5..48f67476a46 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) -- 2.11.4.GIT