Jan Cholasta
bed546ee82
ipalib, ipaserver: migrate all plugins to Registry-based registration
...
Do not use the deprecated API.register method.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com >
2016-05-25 16:06:26 +02:00
Martin Basti
e4075b1fe2
Remove unused imports
...
This patch removes unused imports, alse pylint has been configured to
check unused imports.
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2015-12-23 07:59:22 +01:00
Petr Viktorin
27dabb4528
Modernize 'except' clauses
...
The 'as' syntax works from Python 2 on, and Python 3 will
drop the "comma" syntax.
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2015-08-12 18:17:23 +02:00
Ludwig Krispenz
4bcc2546d5
install part - manage topology in shared tree
...
https://fedorahosted.org/freeipa/ticket/4302
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
2015-05-26 10:43:50 +02:00
Martin Basti
b605ccc94b
Server Upgrade: use ldap2 connection in fix_replica_agreements
...
https://fedorahosted.org/freeipa/ticket/4904
Reviewed-By: David Kupka <dkupka@redhat.com >
2015-04-14 19:25:47 +02:00
Martin Basti
0e752aab29
Server Upgrade: plugins should use ldapupdater API instance
...
This is required to have proper LDAP connection in plugins
https://fedorahosted.org/freeipa/ticket/4904
Reviewed-By: David Kupka <dkupka@redhat.com >
2015-04-14 19:25:47 +02:00
Martin Basti
f24f614396
Server Upgrade: specify order of plugins in update files
...
* add 'plugin' directive
* specify plugins order in update files
* remove 'run plugins' options
* use ldapupdater API instance in plugins
* add update files representing former PreUpdate and PostUpdate order of plugins
https://fedorahosted.org/freeipa/ticket/4904
Reviewed-By: David Kupka <dkupka@redhat.com >
2015-04-14 19:25:47 +02:00
Martin Basti
cc19b5a76a
Server Upgrade: Apply plugin updates immediately
...
Preparation to moving plugins executin into update files.
* remove apply_now flag
* plugins will return only (restart, modifications)
https://fedorahosted.org/freeipa/ticket/4904
Reviewed-By: David Kupka <dkupka@redhat.com >
2015-04-14 19:25:47 +02:00
Tomas Babej
4190b1a47c
Revert "Server Upgrade: respect --test option in plugins"
...
This reverts commit c95c4849ae .
2015-03-19 12:48:06 +01:00
Martin Basti
c95c4849ae
Server Upgrade: respect --test option in plugins
...
Several plugins do the LDAP data modification directly.
In test mode these plugis should not be executed.
https://fedorahosted.org/freeipa/ticket/3448
Reviewed-By: David Kupka <dkupka@redhat.com >
2015-03-19 12:40:24 +01:00
Jan Cholasta
97c1c95f20
Convert remaining update code to LDAPEntry API.
2014-01-24 20:29:31 +01:00
Jan Cholasta
df5f4ee81d
Turn LDAPEntry.single_value into a dictionary-like property.
...
This change makes single_value consistent with the raw property.
https://fedorahosted.org/freeipa/ticket/3521
2013-11-05 13:56:55 +01:00
Tomas Babej
fe3ba33d26
Update only selected attributes for winsync agreement
...
Trying to insert nsDS5ReplicatedAttributeListTotal and
nsds5ReplicaStripAttrs to winsync agreements caused upgrade errors.
With this patch, these attributes are skipped for winsync agreements.
Made find_ipa_replication_agreements() in replication.py more
corresponding to find_replication_agreements. It returns list of
entries instead of unicode strings now.
https://fedorahosted.org/freeipa/ticket/3522
2013-04-16 10:05:43 -04:00
Petr Viktorin
91a63cce62
Remove ipaserver/ipaldap.py
...
In addition to removing the module, fix all places where it was imported.
Preparation for: https://fedorahosted.org/freeipa/ticket/3446
2013-03-13 12:36:33 +01:00
Petr Viktorin
f5c404c65d
Replace entry.getValue by entry.single_value
...
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
2013-03-01 16:59:45 +01:00
Petr Viktorin
607ff478f5
Remove IPAdmin.updateEntry calls from fix_replica_agreements
...
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
2013-03-01 16:59:44 +01:00
Petr Viktorin
334ba2e79f
Remove unused imports from ipaserver/install
...
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
2013-03-01 16:59:44 +01:00
Petr Viktorin
66c7fd1323
Replace entry.setValue/setValues by item assignment
...
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
2013-03-01 16:59:44 +01:00
Petr Viktorin
2ede70b720
Add nsds5ReplicaStripAttrs to replica agreements
...
Generalize the fix_replica_memberof update plugin to allow updating more
replication attributes.
Add nsds5ReplicaStripAttrs to replication agreements on update and
replica install.
https://fedorahosted.org/freeipa/ticket/2534
2012-09-04 05:30:57 -04:00