summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement support for non-LDAP-based actions that use the LDAP ACI subsystem.Rob Crittenden2009-07-105-6/+230
| | | | | | | | | | | | There are some operations, like those for the certificate system, that don't need to write to the directory server. So instead we have an entry that we test against to determine whether the operation is allowed or not. This is done by attempting a write on the entry. If it would succeed then permission is granted. If not then denied. The write we attempt is actually invalid so the write itself will fail but the attempt will fail first if access is not permitted, so we can distinguish between the two without polluting the entry.
* Configure BIND LDAP driver to use SASL authenticationMartin Nagy2009-07-101-15/+16
| | | | | We use /etc/named.keytab generated by ipa-server-install to authenticate against the LDAP server. Also tidy up /etc/named.conf since we're there.
* Basic changes to get a default principal for DNSSimo Sorce2009-07-107-2/+432
| | | | | | | | Also moves delagation layout installation in dsinstance. This is needed to allow us to set default membership in other modules like bindinstance. Signed-off-by: Martin Nagy <mnagy@redhat.com>
* Check error in kpasswdSimo Sorce2009-07-101-2/+3
|
* Make object classes of automatically created entries lowercase.Pavel Zuna2009-07-101-16/+16
| | | | | This makes them more consistent with entries created by plugins. It's a cosmetic thing, not that useful.
* Change command names from *group-del-member to *group-remove-member.Pavel Zuna2009-07-096-17/+17
| | | | Signed-off-by: Jason Gerard DeRose <jderose@redhat.com>
* Import explode_dn from ldap.functions for backward compatibility with older ↵Pavel Zuna2009-07-081-2/+4
| | | | | | version of python-ldap. Fix bug in add_entry_to_group. Resolves 510149
* Add class variable to indicate whether SSL is required or not.Rob Crittenden2009-07-071-2/+4
| | | | | Older python-ldap versions will crash if you call ldap.get_option() on a value that has not been set.
* Fix bug in ldap2.modify_password and make adding/removing members slightly ↵Pavel Zuna2009-07-071-4/+4
| | | | more efficient.
* Add unit test for password pluginRob Crittenden2009-07-071-0/+71
|
* Fix unit tests to handle new group-{add, del}-member semantics.Pavel Zuna2009-07-025-27/+37
|
* Fix bug: number of found entries was reported incorrectly in some plugins.Pavel Zuna2009-07-024-5/+5
|
* Make basegroup-{add, del}-member print failed members with error descriptions.Pavel Zuna2009-07-024-85/+116
|
* Fix bug: when deleting hosts, their services where deleted incorrectlyPavel Zuna2009-07-021-3/+7
|
* Remove outstanding 2's from plugins.Pavel Zuna2009-07-022-8/+8
|
* Add unit tests for new plugins.Pavel Zuna2009-07-029-0/+1634
|
* Add utility functions for plugin unit testing.Pavel Zuna2009-07-021-0/+12
|
* Remove unit tests for old plugins.Pavel Zuna2009-07-0210-1848/+0
|
* Add automount plugin.Pavel Zuna2009-07-021-0/+324
|
* Fix minor bugs, typos, etc. discovered by unit tests in plugins.Pavel Zuna2009-07-028-31/+51
|
* Fix bug in basegroup and passwd plugins (incorrect use of find_entry_by_attr).Pavel Zuna2009-07-022-14/+12
|
* Rename *-create/*-delete commands to *-add/*-del respectively.Pavel Zuna2009-07-0215-65/+65
|
* Fix Encoder.decode test.Pavel Zuna2009-07-021-1/+1
|
* Replace references to basegroup2 in taskgroup plugin.Pavel Zuna2009-07-021-11/+11
|
* Rename plugins2 to plugins.Pavel Zuna2009-07-0213-214/+214
|
* Rename plugins2 files (remove '2' suffix').Pavel Zuna2009-07-0214-0/+0
|
* Remove use_ldap2 constant.Pavel Zuna2009-07-022-16/+7
|
* Remove all references to use_ldap2.Pavel Zuna2009-07-0214-74/+0
|
* Always use new LDAP backend when creating context.Pavel Zuna2009-07-021-4/+1
|
* Delete plugins using old LDAP backend.Pavel Zuna2009-07-0215-4081/+0
|
* Add a local implementation of httplib.SSLFile and httplib.FakeSocketrcrit2009-07-013-4/+197
| | | | | | | Python 2.6 changed its internal implementation which makes it difficult to override in a way that is backwards compatible. 508953
* Fix configure with newer auto* and libtool on Fedora-11rcrit2009-07-011-0/+2
|
* Two new arguments for the help built-in command: topics and commandsRob Crittenden2009-06-151-2/+7
| | | | | ipa help topics will show all topics (equivalent to ipa help) ipa help commands will show list of all available commands
* Fix typo in variable name, object_classs->object_classRob Crittenden2009-06-151-1/+1
|
* Add conversion of attribute name synonyms when generating modlists.Pavel Zuna2009-06-151-0/+28
|
* Change plugins2 using find_entries to support incomplete (truncated) search ↵Pavel Zuna2009-06-155-41/+98
| | | | results.
* Add new set of base classes for plugins using LDAP.Pavel Zuna2009-06-151-0/+398
|
* Add support for incomplete (truncated) search results.Pavel Zuna2009-06-152-15/+30
| | | | | | | | | | ldap2.find_entries now returns a tuple containing 2 values. First, a list of entries (dn, entry_attrs), Second, the truncated flag. If the truncated flag is True, search results hit a server limitation and are incomplete. This patch also removes decoding of non-string scalar python types into unicode (they are left unchanged).
* Add host plugin port to new LDAP backend.Pavel Zuna2009-06-121-0/+371
|
* Fix bugs in ldap2.Pavel Zuna2009-06-121-18/+8
|
* Add passwd plugin port to new LDAP backend.Pavel Zuna2009-06-101-0/+79
|
* Add ACI plugin port to new LDAP backend.Pavel Zuna2009-06-101-0/+391
|
* Generate crud.Search arguments with get_args.Pavel Zuna2009-06-101-4/+4
|
* Make get_dn parameter list more generic. Fix Attribute name regex.Pavel Zuna2009-06-101-3/+3
| | | | | The old name regex made it impossible to have Attribute instances with names composed of more than two words separated by underscores.
* Add 'parent_key' kwarg in Param class.Pavel Zuna2009-06-101-0/+1
|
* Modify PluginProxy to use __public__ defined in derived classes instead of ↵Pavel Zuna2009-06-101-1/+4
| | | | base classes.
* Add service plugin port to new LDAP backend.Pavel Zuna2009-06-101-0/+358
|
* Fix bug in ldap2.normalize_dn.Pavel Zuna2009-06-101-1/+1
| | | | DN was always returned as lower-case, sometimes resulting in 2 RDN values with different cases when creating entries.
* Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and ↵Pavel Zuna2009-06-103-45/+53
| | | | Command.args_options_2_entry unit tests.
* Fix plugin API errorsRob Crittenden2009-06-031-2/+2
|