summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/netcmd/rodc.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/samba/netcmd/rodc.py')
-rw-r--r--source4/scripting/python/samba/netcmd/rodc.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/rodc.py b/source4/scripting/python/samba/netcmd/rodc.py
index b0500362ef4..e990262e80f 100644
--- a/source4/scripting/python/samba/netcmd/rodc.py
+++ b/source4/scripting/python/samba/netcmd/rodc.py
@@ -3,7 +3,6 @@
# rodc related commands
#
# Copyright Andrew Tridgell 2010
-# Copyright Giampaolo Lauria 2011 <lauria2@yahoo.com>
#
# 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
@@ -33,6 +32,12 @@ class cmd_rodc_preload(Command):
synopsis = "%prog (<SID>|<DN>|<accountname>) [options]"
+ takes_optiongroups = {
+ "sambaopts": options.SambaOptions,
+ "versionopts": options.VersionOptions,
+ "credopts": options.CredentialsOptions,
+ }
+
takes_options = [
Option("--server", help="DC to use", type=str),
]