Skip to content

Commit

Permalink
netcmd: domain: move samba3upgrade command to domain/samba3upgrade.py
Browse files Browse the repository at this point in the history
Signed-off-by: Rob van der Linde <[email protected]>
Reviewed-by: Douglas Bagnall <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
robvdl authored and abartlet committed Mar 31, 2023
1 parent 5986937 commit dff87f0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 9 deletions.
10 changes: 1 addition & 9 deletions python/samba/netcmd/domain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,7 @@
from .level import cmd_domain_level
from .passwordsettings import cmd_domain_passwordsettings
from .provision import cmd_domain_provision


class cmd_domain_samba3upgrade(cmd_domain_classicupgrade):
__doc__ = cmd_domain_classicupgrade.__doc__

# This command is present for backwards compatibility only,
# and should not be shown.

hidden = True
from .samba3upgrade import cmd_domain_samba3upgrade


class LocalDCCredentialsOptions(options.CredentialsOptions):
Expand Down
34 changes: 34 additions & 0 deletions python/samba/netcmd/domain/samba3upgrade.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# domain management - domain samba3upgrade
#
# Copyright Matthias Dieter Wallnoefer 2009
# Copyright Andrew Kroeger 2009
# Copyright Jelmer Vernooij 2007-2012
# Copyright Giampaolo Lauria 2011
# Copyright Matthieu Patou <[email protected]> 2011
# Copyright Andrew Bartlett 2008-2015
# Copyright Stefan Metzmacher 2012
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

from .classicupgrade import cmd_domain_classicupgrade


class cmd_domain_samba3upgrade(cmd_domain_classicupgrade):
__doc__ = cmd_domain_classicupgrade.__doc__

# This command is present for backwards compatibility only,
# and should not be shown.

hidden = True

0 comments on commit dff87f0

Please sign in to comment.