Option
)
+
class cmd_forest_show(Command):
"""Display forest settings.
except KeyError:
self.outf.write("%s: <NO VALUE>\n" % attr)
+
class cmd_forest_set(Command):
"""Modify forest settings.
objectdn = "CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration"
attributes = ['dsheuristics']
+
class cmd_forest_set_directory_service_dsheuristics(cmd_forest_set):
"""Set the value of dsheuristics on the Directory Service.
objectdn = "CN=Directory Service,CN=Windows NT,CN=Services,CN=Configuration"
attribute = 'dsheuristics'
+
class cmd_forest_directory_service(SuperCommand):
"""Forest configuration partition management."""
subcommands["show"] = cmd_forest_show_directory_service()
subcommands["dsheuristics"] = cmd_forest_set_directory_service_dsheuristics()
+
class cmd_forest(SuperCommand):
"""Forest management."""