예제 #1
0
class cmd_sambatool(SuperCommand):
    """Main samba administration tool."""

    takes_optiongroups = {
        "versionopts": options.VersionOptions,
    }

    subcommands = {}
    subcommands["dbcheck"] = cmd_dbcheck()
    subcommands["delegation"] = cmd_delegation()
    subcommands["dns"] = cmd_dns()
    subcommands["domain"] = cmd_domain()
    subcommands["drs"] = cmd_drs()
    subcommands["dsacl"] = cmd_dsacl()
    subcommands["fsmo"] = cmd_fsmo()
    subcommands["gpo"] = cmd_gpo()
    subcommands["group"] = cmd_group()
    subcommands["ldapcmp"] = cmd_ldapcmp()
    subcommands["ntacl"] = cmd_ntacl()
    subcommands["rodc"] = cmd_rodc()
    subcommands["sites"] = cmd_sites()
    subcommands["spn"] = cmd_spn()
    subcommands["testparm"] = cmd_testparm()
    subcommands["time"] = cmd_time()
    subcommands["user"] = cmd_user()
    subcommands["vampire"] = cmd_vampire()
    subcommands["processes"] = cmd_processes()
예제 #2
0
파일: __init__.py 프로젝트: Arkhont/samba
        self.exception_info = sys.exc_info()


commands = {}
from samba.netcmd.pwsettings import cmd_pwsettings
commands["pwsettings"] = cmd_pwsettings()
from samba.netcmd.domainlevel import cmd_domainlevel
commands["domainlevel"] = cmd_domainlevel()
from samba.netcmd.setpassword import cmd_setpassword
commands["setpassword"] = cmd_setpassword()
from samba.netcmd.newuser import cmd_newuser
commands["newuser"] = cmd_newuser()
from samba.netcmd.netacl import cmd_acl
commands["acl"] = cmd_acl()
from samba.netcmd.fsmo import cmd_fsmo
commands["fsmo"] = cmd_fsmo()
from samba.netcmd.export import cmd_export
commands["export"] = cmd_export()
from samba.netcmd.time import cmd_time
commands["time"] = cmd_time()
from samba.netcmd.user import cmd_user
commands["user"] = cmd_user()
from samba.netcmd.vampire import cmd_vampire
commands["vampire"] = cmd_vampire()
from samba.netcmd.machinepw import cmd_machinepw
commands["machinepw"] = cmd_machinepw()
from samba.netcmd.spn import cmd_spn
commands["spn"] = cmd_spn()
from samba.netcmd.group import cmd_group
commands["group"] = cmd_group()
from samba.netcmd.join import cmd_join
예제 #3
0
        self.exception_info = sys.exc_info()


commands = {}
from samba.netcmd.pwsettings import cmd_pwsettings
commands["pwsettings"] = cmd_pwsettings()
from samba.netcmd.domainlevel import cmd_domainlevel
commands["domainlevel"] = cmd_domainlevel()
from samba.netcmd.setpassword import cmd_setpassword
commands["setpassword"] = cmd_setpassword()
from samba.netcmd.newuser import cmd_newuser
commands["newuser"] = cmd_newuser()
from samba.netcmd.netacl import cmd_acl
commands["acl"] = cmd_acl()
from samba.netcmd.fsmo import cmd_fsmo
commands["fsmo"] = cmd_fsmo()
from samba.netcmd.export import cmd_export
commands["export"] = cmd_export()
from samba.netcmd.time import cmd_time
commands["time"] = cmd_time()
from samba.netcmd.user import cmd_user
commands["user"] = cmd_user()
from samba.netcmd.vampire import cmd_vampire
commands["vampire"] = cmd_vampire()
from samba.netcmd.machinepw import cmd_machinepw
commands["machinepw"] = cmd_machinepw()
from samba.netcmd.spn import cmd_spn
commands["spn"] = cmd_spn()
from samba.netcmd.group import cmd_group
commands["group"] = cmd_group()
from samba.netcmd.join import cmd_join