diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-01-21 04:42:16 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-01 16:59:44 +0100 |
commit | 66c7fd1323619a99c48eb9babe4cbe7f48dca303 (patch) | |
tree | b8c8a7a711cfd5380a30d16c7a771a9e4599fb9e /ipaserver/install/replication.py | |
parent | c613caab67337293a410c07713c89345d0124f2c (diff) | |
download | freeipa-66c7fd1323619a99c48eb9babe4cbe7f48dca303.tar.gz freeipa-66c7fd1323619a99c48eb9babe4cbe7f48dca303.tar.xz freeipa-66c7fd1323619a99c48eb9babe4cbe7f48dca303.zip |
Replace entry.setValue/setValues by item assignment
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
Diffstat (limited to 'ipaserver/install/replication.py')
-rw-r--r-- | ipaserver/install/replication.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipaserver/install/replication.py b/ipaserver/install/replication.py index c017bbdac..a9d3d9c58 100644 --- a/ipaserver/install/replication.py +++ b/ipaserver/install/replication.py @@ -489,13 +489,13 @@ class ReplicationManager(object): ds_subtree = DN(IPA_USER_CONTAINER, self.suffix) windomain = ipautil.suffix_to_realm(self.suffix) - entry.setValues("objectclass", "nsDSWindowsReplicationAgreement") - entry.setValues("nsds7WindowsReplicaSubtree", win_subtree) - entry.setValues("nsds7DirectoryReplicaSubtree", ds_subtree) + entry["objectclass"] = ["nsDSWindowsReplicationAgreement"] + entry["nsds7WindowsReplicaSubtree"] = [win_subtree] + entry["nsds7DirectoryReplicaSubtree"] = [ds_subtree] # for now, just sync users and ignore groups - entry.setValues("nsds7NewWinUserSyncEnabled", 'true') - entry.setValues("nsds7NewWinGroupSyncEnabled", 'false') - entry.setValues("nsds7WindowsDomain", windomain) + entry["nsds7NewWinUserSyncEnabled"] = ['true'] + entry["nsds7NewWinGroupSyncEnabled"] = ['false'] + entry["nsds7WindowsDomain"] = [windomain] def agreement_dn(self, hostname, master=None): """ |