summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-11-12 14:01:59 -0500
committerRob Crittenden <rcritten@redhat.com>2008-11-12 15:52:57 -0500
commit17261c2520e941e8ec01b02855830b5dc7fc8d66 (patch)
treef454b4c985c78267047a0523c57df14a34ee0954 /ipa-server/ipa-install
parent49e4876ba9143e4e63d8ed53da812627ebbb28c7 (diff)
Create a user for Windows PassSync and grant password changing permissions
This does 3 things: 1. Create a user for the Windows PassSync service 2. Add this use to the list of users that can skip password policies 3. Add an aci that grants permission to write the password attributes 471130
Diffstat (limited to 'ipa-server/ipa-install')
-rwxr-xr-xipa-server/ipa-install/ipa-replica-manage8
1 files changed, 6 insertions, 2 deletions
diff --git a/ipa-server/ipa-install/ipa-replica-manage b/ipa-server/ipa-install/ipa-replica-manage
index 9b46748e3..c0051c7fb 100755
--- a/ipa-server/ipa-install/ipa-replica-manage
+++ b/ipa-server/ipa-install/ipa-replica-manage
@@ -46,6 +46,8 @@ def parse_options():
help="Full path and filename of CA certificate to use with TLS/SSL to the remote server")
parser.add_option("--win-subtree", dest="win_subtree",
help="DN of Windows subtree containing the users you want to sync (default cn=Users,<domain suffix)")
+ parser.add_option("--passsync", dest="passsync",
+ help="Password for the Windows PassSync user")
options, args = parser.parse_args()
@@ -115,10 +117,12 @@ def add_master(replman, hostname, options):
other_args['cacert'] = options.cacert
if options.win_subtree:
other_args['win_subtree'] = options.win_subtree
+ if options.passsync:
+ other_args['passsync'] = options.passsync
if options.winsync:
other_args['winsync'] = True
- if not options.binddn or not options.bindpw or not options.cacert:
- logging.error("The arguments --binddn, --bindpw, and --cacert are required to create a winsync agreement")
+ if not options.binddn or not options.bindpw or not options.cacert or not options.passsync:
+ logging.error("The arguments --binddn, --bindpw, --passsync and --cacert are required to create a winsync agreement")
sys.exit(1)
if options.cacert:
# have to install the given CA cert before doing anything else